fix incorrect extensions variable reference - fixes #1460
This commit is contained in:
parent
bf0e4ede00
commit
31a4195c81
@ -30,7 +30,7 @@ module.exports = function (commander, filenames, opts) {
|
||||
var handleFile = function (src, filename) {
|
||||
if (util.shouldIgnore(src)) return;
|
||||
|
||||
if (util.canCompile(filename, commander.extensions)) {
|
||||
if (util.canCompile(filename, opts.extensions)) {
|
||||
write(src, filename);
|
||||
} else if (commander.copyFiles) {
|
||||
outputFileSync(path.join(commander.outDir, filename), fs.readFileSync(src));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user