Skip to content

Commit 3d4887a

Browse files
committed
fix tslint
1 parent a2d2f71 commit 3d4887a

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

tools/screenshot-test/functions/data-image.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ export function writeTestImagesToFiles(event: any) {
3737
writeFileSync(tempPath, binaryData, 'binary');
3838
return bucket.upload(tempPath, {destination: filePath});
3939
});
40-
};
40+
}

tools/screenshot-test/functions/image-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ export function copyGoldImagesToDatabase(name: string, resourceState: string, fi
3838
let data = readFileSync(tempFilePath);
3939
return databaseRef.set(data);
4040
}).catch((error: any) => console.error(`${filenameKey} ${error}`));
41-
};
41+
}

tools/screenshot-test/functions/jwt-util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const secret = firebaseFunctions.config().secret.key;
1414
*/
1515
function getSecureToken(event: firebaseFunctions.Event<any>) {
1616
return `${event.params.jwtHeader}.${event.params.jwtPayload}.${event.params.jwtSignature}`;
17-
};
17+
}
1818

1919
/**
2020
* Verify that the event has a valid JsonWebToken. If the token is *not* valid,
@@ -34,4 +34,4 @@ export function verifySecureToken(event: firebaseFunctions.Event<any>) {
3434
reject();
3535
});
3636
});
37-
};
37+
}

tools/screenshot-test/functions/test-goldens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ export function copyTestImagesToGoldens(prNumber: string) {
3535
.map((file: any) => file.copy(`goldens/${path.basename(file.name)}`)));
3636
});
3737
});
38-
};
38+
}

tools/screenshot-test/functions/util/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ export function setGithubStatus(commitSHA: string,
3939
resolve(response.statusCode);
4040
});
4141
});
42-
};
42+
}

tools/screenshot-test/functions/util/jwt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export function verifyJWT(token: string,
1717
}
1818
});
1919
});
20-
};
20+
}

0 commit comments

Comments
 (0)