Skip to content

Commit 2bc381e

Browse files
Trottdanielleadams
authored andcommitted
tools: fix argv bug in find-inactive-tsc.mjs
The argument supplied is expected to be text, not numeric. This wasn't causing issues with the automated job because it does not send an argument. It uses the default. PR-URL: #41394 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
1 parent c49a651 commit 2bc381e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/find-inactive-tsc.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import fs from 'node:fs';
1313
import path from 'node:path';
1414
import readline from 'node:readline';
1515

16-
const SINCE = +process.argv[2] || '3 months ago';
16+
const SINCE = process.argv[2] || '3 months ago';
1717

1818
async function runGitCommand(cmd, options = {}) {
1919
const childProcess = cp.spawn('/bin/sh', ['-c', cmd], {

0 commit comments

Comments
 (0)