Skip to content

Commit b2c406e

Browse files
committed
eslint ignore console
1 parent f81781f commit b2c406e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/changelog/has-content-changes.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {getChangelogsUncached} from './src/server/utils';
33
try {
44
checkChanges();
55
} catch (e) {
6+
// eslint-disable-next-line no-console
67
console.error(e);
78
// build in case of errors
89
process.exit(1);
@@ -20,16 +21,19 @@ async function checkChanges() {
2021
});
2122

2223
if (prodHash === null) {
24+
// eslint-disable-next-line no-console
2325
console.error('could not find changelogs hash on on live changelog page');
2426
// build anyway since we are not sure
2527
process.exit(1);
2628
}
2729

2830
if (prodHash !== hash) {
31+
// eslint-disable-next-line no-console
2932
console.info('⚠️ changelogs have changed since last deployment');
3033
// should build
3134
process.exit(1);
3235
}
36+
// eslint-disable-next-line no-console
3337
console.info('changelogs are up to date');
3438
// skip build
3539
process.exit(0);

0 commit comments

Comments
 (0)