Skip to content

Commit 7d4bd61

Browse files
committed
lint fixes
1 parent 2671347 commit 7d4bd61

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/angular-cli/commands/help.ts

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const HelpCommand = Command.extend({
2020
availableOptions: [],
2121

2222
run: function (commandOptions: any) {
23-
const uniques = {};
2423
let commandFiles = fs.readdirSync(__dirname)
2524
// Remove files that are not JavaScript
2625
.filter(file => file.match(/\.js$/))

scripts/publish/build.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Promise.resolve()
5555
}, Promise.resolve());
5656
})
5757
.then(() => console.log('Copying uncompiled resources...'))
58-
.then(() => glob(path.join(packagesRoot, '**/*')))
58+
.then(() => glob(path.join(packagesRoot, '**/*'), { dot: true }))
5959
.then(files => {
6060
console.log(` Found ${files.length} files...`);
6161
return files
@@ -88,8 +88,8 @@ Promise.resolve()
8888

8989
// The only remaining file we want to ignore is tsconfig and spec files.
9090
return !(/tsconfig\.json$/.test(fileName))
91-
&& !(/\.spec\./.test(fileName))
92-
&& !(/[\/\\]tests[\/\\]/.test(fileName));
91+
&& !(/\.spec\./.test(fileName))
92+
&& !(/[\/\\]tests[\/\\]/.test(fileName));
9393
})
9494
.map((fileName) => {
9595
const source = path.join(packagesRoot, fileName);

0 commit comments

Comments
 (0)