Skip to content

Commit

Permalink
chore(cli): fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarm committed Jul 27, 2021
1 parent 1447779 commit d0ef883
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cdktf-cli/bin/cmds/ui/models/terraform-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class TerraformCli implements Terraform {
public async deploy(
planFile: string,
stdout: (chunk: Buffer) => any,
extraOptions: string[] = [],
extraOptions: string[] = []
): Promise<void> {
await this.setUserAgent();
await exec(
Expand Down
4 changes: 2 additions & 2 deletions packages/cdktf-cli/test/server/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { startServer } from "../../lib/server";
import fetch from 'cross-fetch';
import fetch from "cross-fetch";

describe("startServer", () => {
// eslint-disable-next-line @typescript-eslint/no-empty-function
Expand All @@ -8,7 +8,7 @@ describe("startServer", () => {
// makes sure this also runs in case of an error
afterAll(async () => {
await stop();
})
});

it("starts a GraphQL server", async () => {
const opts = await startServer();
Expand Down
2 changes: 1 addition & 1 deletion test/test-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class TestDriver {

watch = () => {
const child = ptySpawn("cdktf", ["watch", "--auto-approve"], {
name: 'xterm-color',
name: "xterm-color",
env: this.env,
cols: 80,
rows: 60,
Expand Down
2 changes: 1 addition & 1 deletion test/typescript/watch/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class HelloTerra extends TerraformStack {
{
"local-exec": {
command: `echo "hello deploy"`,
}
},
},
]);
}
Expand Down

0 comments on commit d0ef883

Please sign in to comment.