Skip to content

Commit

Permalink
Fix in HTML globbing, see #30
Browse files Browse the repository at this point in the history
  • Loading branch information
phbernard committed Aug 8, 2016
1 parent 76ba2ef commit 19ca418
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = function(grunt) {
src: 'test/fixtures/sample_picture_2.png',
dest: 'tmp/scenario_1',
options: {
html: ['tmp/scenario_1/page1.html', 'tmp/scenario_1/page2.html', 'tmp/scenario_1/standalone.txt'],
html: ['tmp/scenario_1/page*.html', 'tmp/scenario_1/standalone.txt'],
design: {
desktopBrowser: {},
ios: {
Expand Down Expand Up @@ -105,7 +105,7 @@ module.exports = function(grunt) {
dest: 'tmp/scenario_2',
options: {
iconsPath: undefined,
html: ['tmp/scenario_2/page1.html', 'tmp/scenario_2/page2.html'],
html: ['tmp/scenario_2/page*.html'],
settings: {
scalingAlgorithm: 'NearestNeighbor'
}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ In lieu of a formal styleguide, take care to maintain the existing coding style.

## Release History

### 0.1.7

- Fix in HTML globbing, see https://github.com/RealFaviconGenerator/grunt-real-favicon/issues/30

### 0.1.6

- Update peerDependencies to support Grunt 1.0.
Expand Down
2 changes: 1 addition & 1 deletion tasks/real_favicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module.exports = function(grunt) {
throw error;
}

async.each(html_files, function(file, callback) {
async.each(grunt.file.expand({nonull: true}, html_files), function(file, callback) {
grunt.log.writeln("Process " + file);

if (! grunt.file.exists(file)) {
Expand Down

0 comments on commit 19ca418

Please # to comment.