Skip to content

Commit

Permalink
chore(sdk): removingunnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
marciocadev committed Sep 22, 2023
1 parent 1e2e3d1 commit 688b2b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions libs/wingsdk/src/util/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface WaitUntilProps {
* `util.busyWait`.
* @inflight `@winglang/sdk.util.IPredicateHandlerClient`
*/
export interface IPredicateHandler extends IResource {}
export interface IPredicateHandler extends IResource { }

/**
* Inflight client for `IPredicateHandler`.
Expand Down Expand Up @@ -142,7 +142,7 @@ export class Util {
* @param data - The string to be hashed.
*/
public static sha256(data: string): string {
return createHash("sha256").update(data).digest("hex"); //SHA256(data).toString();
return createHash("sha256").update(data).digest("hex");
}

/**
Expand Down Expand Up @@ -171,5 +171,5 @@ export class Util {
public static _toInflightType(): string {
return InflightClient.forType(__filename, this.name);
}
private constructor() {}
private constructor() { }
}
4 changes: 0 additions & 4 deletions libs/wingsdk/test/target-tf-aws/website.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ test("website with invalid path should throw error", () => {
}).toThrowError(
"ENOENT: no such file or directory, scandir '/absolute/non-existent'"
);

// THEN
});

test("website with add_json", () => {
Expand Down Expand Up @@ -103,6 +101,4 @@ test("website with invalid path should throw error", () => {
);
app.synth();
}).toThrowError('key must have a .json suffix. (current: "txt")');

// THEN
});

0 comments on commit 688b2b1

Please sign in to comment.