Skip to content

Commit 7980314

Browse files
committed
Fix more lint errors
1 parent c5cc779 commit 7980314

File tree

7 files changed

+16
-4
lines changed

7 files changed

+16
-4
lines changed

aws-cs-ansible-wordpress/MyStack.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2022, Pulumi Corporation.
2+
13
using System.IO;
24
using Pulumi;
35
using Aws = Pulumi.Aws;

aws-cs-ansible-wordpress/Program.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
// Copyright 2022, Pulumi Corporation.
2+
13
using System.Threading.Tasks;
24
using Pulumi;
35

46
class Program
57
{
68
static Task<int> Main() => Deployment.RunAsync<MyStack>();
7-
}
9+
}

aws-go-ansible-wordpress/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2022, Pulumi Corporation.
2+
13
package main
24

35
import (

aws-java-ansible-wordpress/src/main/java/myproject/App.java

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2022, Pulumi Corporation.
2+
13
package myproject;
24

35
import java.util.*;

aws-py-ansible-wordpress/__main__.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright 2022, Pulumi Corporation.
2+
13
import pulumi
24
import pulumi_aws as aws
35
import pulumi_command as command

aws-ts-ansible-wordpress/index.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
import * as pulumi from "@pulumi/pulumi";
1+
// Copyright 2022, Pulumi Corporation.
2+
23
import * as aws from "@pulumi/aws";
34
import * as command from "@pulumi/command";
5+
import * as pulumi from "@pulumi/pulumi";
46
import * as fs from "fs";
57

68
const config = new pulumi.Config();
@@ -216,7 +218,7 @@ const playAnsiblePlaybookCmd = new command.local.Command("playAnsiblePlaybookCmd
216218
create: pulumi.interpolate`ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook \
217219
-u ec2-user -i '${wordpressEip.publicIp},' \
218220
--private-key ${privateKeyPath} \
219-
playbook_rendered.yml`
221+
playbook_rendered.yml`,
220222
}, {
221223
dependsOn: [
222224
renderPlaybookCmd,

tslint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"eofline": true,
1616
"file-header": [
1717
true,
18-
"Copyright \\d{4}-\\d{4}, Pulumi Corporation."
18+
"Copyright (\\d{4}-)?\\d{4}, Pulumi Corporation."
1919
],
2020
"forin": true,
2121
"indent": [

0 commit comments

Comments
 (0)