8000 chore: fix publish script linting errors · sirajc/angular-cli@f6b9c0a · GitHub
[go: up one dir, main page]

Skip to content

Commit f6b9c0a

Browse files
committed
chore: fix publish script linting errors
8000
1 parent 09a92ea commit f6b9c0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/publish/changelog.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ const exec = require('child_process').exec;
1818
var changelogStream = fs.createWriteStream('CHANGELOG-delta.md');
1919

2020
if (process.argv.length < 3) {
21+
// eslint-disable-next-line no-console
2122
console.log('Usage: ./scripts/publish/changelog.js <start-tag>');
2223
process.exit(-1);
2324
}
2425

2526
var config = {
2627
preset: 'angular',
27-
releaseCount: 1,
28+
releaseCount: 1
2829
};
2930

3031
var prependDelta = function() {
@@ -35,6 +36,7 @@ var prependDelta = function() {
3536

3637
cl(config, null, { from: process.argv[2] })
3738
.on('error', function(err) {
39+
// eslint-disable-next-line no-console
3840
console.error('Failed to generate changelog: ' + err);
3941
})
4042
.pipe(changelogStream)

0 commit comments

Comments
 (0)
0