diff --git a/tools/actions/pr-open.js b/tools/actions/pr-open.js index d61e16462cf357..7d13305174bc68 100644 --- a/tools/actions/pr-open.js +++ b/tools/actions/pr-open.js @@ -57,14 +57,14 @@ module.exports = async (client, context) => { if (user === 'nodejs-github-bot') { return false; } - + const TSC_FILE_PATHS = [ globToRegex('/deps/**'), - ] + ]; - return changedFiles.some(filePath => { + return changedFiles.some((filePath) => { const normalizedPath = filePath.startsWith('/') ? filePath : `/${filePath}`; - return TSC_FILE_PATHS.some(pattern => pattern.test(normalizedPath)); + return TSC_FILE_PATHS.some((pattern) => pattern.test(normalizedPath)); }); } @@ -88,7 +88,7 @@ module.exports = async (client, context) => { "If you have any questions, please don't hesitate to ask!"; if (shouldPingTSC(changedFiles)) { - body += '\n\nA modification in this PR may require @nodejs/tsc\'s approval.' + body += '\n\nA modification in this PR may require @nodejs/tsc\'s approval.'; } return client.rest.issues.createComment({