Skip to content

Commit

Permalink
Merge pull request #55 from ember-cli-deploy/bevinhex-include-dotfiles
Browse files Browse the repository at this point in the history
[BREAKING] include hidden files in distFiles
  • Loading branch information
lukemelia authored Sep 3, 2019
2 parents 8ba6786 + a09c46c commit 10158a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
this.log('reusing build from `' + outputPath, { verbose: true });
return RSVP.resolve({
distDir: outputPath,
distFiles: glob.sync('**/*', { cwd: outputPath, nodir: true })
distFiles: glob.sync('**/*', { cwd: outputPath, nodir: true , dot: true})
});
}
var buildEnv = this.readConfig('environment');
Expand Down Expand Up @@ -55,7 +55,7 @@ module.exports = {
},
_logSuccess: function(outputPath) {
var self = this;
var files = glob.sync('**/**/*', { nonull: false, nodir: true, cwd: outputPath });
var files = glob.sync('**/**/*', { nonull: false, nodir: true, cwd: outputPath , dot: true});

if (files && files.length) {
files.forEach(function(path) {
Expand Down

0 comments on commit 10158a3

Please sign in to comment.