We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5a0cd9 commit b5cb453Copy full SHA for b5cb453
tasks/header.js
@@ -32,8 +32,9 @@ pathsDist.forEach(headerLicense);
32
var licenseSrc = constants.licenseSrc;
33
var licenseStr = licenseSrc.substring(2, licenseSrc.length - 2);
34
35
-
36
-glob(path.join(constants.pathToSrc, '**/*.js'), function(err, files) {
+var srcGlob = path.join(constants.pathToSrc, '**/*.js');
+var libGlob = path.join(constants.pathToLib, '**/*.js');
37
+glob('{' + srcGlob + ',' + libGlob + '}', function(err, files){
38
files.forEach(function(file) {
39
fs.readFile(file, 'utf-8', function(err, code) {
40
0 commit comments