diff --git a/src/commands/snapshot.ts b/src/commands/snapshot.ts index 8b19b835..4fa7ced1 100644 --- a/src/commands/snapshot.ts +++ b/src/commands/snapshot.ts @@ -103,7 +103,7 @@ export default class Snapshot extends PercyCommand { private cleanTrailingSlash(input: string) { if (input.substr(-1) === '/' || input.substr(-1) === '\\') { - return input.substr(0, input.length - 1); + return input.substr(0, input.length - 1) } return input }