From 6e5ce354aa12bdf503c30e79a32b19397cf053b4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 4 Jan 2022 04:50:44 -0800 Subject: [PATCH] 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. --- tools/find-inactive-tsc.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/find-inactive-tsc.mjs b/tools/find-inactive-tsc.mjs index 741fb0c0b96c49..871ca9af1ed9d2 100755 --- a/tools/find-inactive-tsc.mjs +++ b/tools/find-inactive-tsc.mjs @@ -13,7 +13,7 @@ import fs from 'node:fs'; import path from 'node:path'; import readline from 'node:readline'; -const SINCE = +process.argv[2] || '3 months ago'; +const SINCE = process.argv[2] || '3 months ago'; async function runGitCommand(cmd, options = {}) { const childProcess = cp.spawn('/bin/sh', ['-c', cmd], {