Skip to content

Commit 583f8d9

Browse files
Trotttargos
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
1 parent b0f0ad1 commit 583f8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/find-inactive-tsc.mjs

+1-1
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)