Skip to content

Commit

Permalink
Only include files in glob, not directory. References facebookarchive…
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel15 authored and ouchxp committed Apr 7, 2017
1 parent 1358887 commit 954e050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/server/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server.noconvert = true;
// requests.
var queue = Promise.resolve();

glob('src/**/*', function(er, files) {
glob('src/**/*', {nodir: true}, function(er, files) {
files.forEach(function(file) {
var targetFile = file.replace(/^src/, 'build');

Expand Down

0 comments on commit 954e050

Please sign in to comment.