Skip to content

Commit

Permalink
fixup! lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
avivkeller authored Jun 14, 2024
1 parent 11a6715 commit a077138
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/actions/pr-open.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
}

Expand All @@ -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({
Expand Down

0 comments on commit a077138

Please sign in to comment.