Skip to content

Commit 10158a3

Browse files
authored
Merge pull request #55 from ember-cli-deploy/bevinhex-include-dotfiles
[BREAKING] include hidden files in distFiles
2 parents 8ba6786 + a09c46c commit 10158a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
this.log('reusing build from `' + outputPath, { verbose: true });
2222
return RSVP.resolve({
2323
distDir: outputPath,
24-
distFiles: glob.sync('**/*', { cwd: outputPath, nodir: true })
24+
distFiles: glob.sync('**/*', { cwd: outputPath, nodir: true , dot: true})
2525
});
2626
}
2727
var buildEnv = this.readConfig('environment');
@@ -55,7 +55,7 @@ module.exports = {
5555
},
5656
_logSuccess: function(outputPath) {
5757
var self = this;
58-
var files = glob.sync('**/**/*', { nonull: false, nodir: true, cwd: outputPath });
58+
var files = glob.sync('**/**/*', { nonull: false, nodir: true, cwd: outputPath , dot: true});
5959

6060
if (files && files.length) {
6161
files.forEach(function(path) {

0 commit comments

Comments
 (0)