File tree 2 files changed +3
-4
lines changed
packages/angular-cli/commands
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ const HelpCommand = Command.extend({
20
20
availableOptions : [ ] ,
21
21
22
22
run : function ( commandOptions : any ) {
23
- const uniques = { } ;
24
23
let commandFiles = fs . readdirSync ( __dirname )
25
24
// Remove files that are not JavaScript
26
25
. filter ( file => file . match ( / \. j s $ / ) )
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Promise.resolve()
55
55
} , Promise . resolve ( ) ) ;
56
56
} )
57
57
. then ( ( ) => console . log ( 'Copying uncompiled resources...' ) )
58
- . then ( ( ) => glob ( path . join ( packagesRoot , '**/*' ) ) )
58
+ . then ( ( ) => glob ( path . join ( packagesRoot , '**/*' ) , { dot : true } ) )
59
59
. then ( files => {
60
60
console . log ( ` Found ${ files . length } files...` ) ;
61
61
return files
@@ -88,8 +88,8 @@ Promise.resolve()
88
88
89
89
// The only remaining file we want to ignore is tsconfig and spec files.
90
90
return ! ( / t s c o n f i g \. j s o n $ / . test ( fileName ) )
91
- && ! ( / \. s p e c \. / . test ( fileName ) )
92
- && ! ( / [ \/ \\ ] t e s t s [ \/ \\ ] / . test ( fileName ) ) ;
91
+ && ! ( / \. s p e c \. / . test ( fileName ) )
92
+ && ! ( / [ \/ \\ ] t e s t s [ \/ \\ ] / . test ( fileName ) ) ;
93
93
} )
94
94
. map ( ( fileName ) => {
95
95
const source = path . join ( packagesRoot , fileName ) ;
You can’t perform that action at this time.
0 commit comments