Skip to content

Commit b11387d

Browse files
authored
Fix off by one for argv (#137)
1 parent c90f032 commit b11387d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/postGithubComments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import pu = require("./utils/packageUtils");
66

77
const { argv } = process;
88

9-
if (argv.length !== 9) {
9+
if (argv.length !== 10) {
1010
console.error(`Usage: ${path.basename(argv[0])} ${path.basename(argv[1])} <user_to_tag> <pr_number> <comment_number> <distinct_id> <is_top_repos_run> <result_dir_path> <artifacts_uri> <post_result>`);
1111
process.exit(-1);
1212
}

0 commit comments

Comments
 (0)