Skip to content

Commit 5db7def

Browse files
author
Tom Maton
committed
Bug fix if no ignore file added to task
1 parent 493b963 commit 5db7def

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = opts => through.obj((file, enc, cb) => {
4343
const moduleId = generateModuleName(opts, file);
4444
const dirname = path.dirname(file.path);
4545
const isPWA = !!opts.pwa;
46-
const ignoreFiles = opts.ignore;
46+
const ignoreFiles = opts.ignore || [];
4747

4848
let res;
4949

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gulp-css-to-polymer",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Converting CSS to a ES6 Module for Polymer V3.x.x",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)