Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rushatgabhane committed Sep 20, 2023
1 parent 8a6d44c commit ed0267c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/createDocsRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ function run() {

if (expensifyClassicArticleHubs.length !== expensifyClassicRoute.hubs.length) {
console.error(warnMessage(platformNames.expensifyClassic));
exit(1);
process.exit(1);
}

if (newExpensifyArticleHubs.length !== newExpensifyRoute.hubs.length) {
console.error(warnMessage(platformNames.newExpensify));
exit(1);
process.exit(1);
}

createHubsWithArticles(expensifyClassicArticleHubs, platformNames.expensifyClassic, expensifyClassicRoute.hubs);
Expand All @@ -113,5 +113,5 @@ try {
run();
} catch (error) {
console.error('A problem occurred while trying to read the directories.', error);
exit(1);
process.exit(1);
}

0 comments on commit ed0267c

Please sign in to comment.