Minor tweak in Yeoman generator source to clarify intent (makes no difference in current cases, so no need to re-release the package for this)

This commit is contained in:
SteveSandersonMS
2017-01-31 16:09:36 +00:00
parent 59dbb1f88f
commit f8f4016b33

View File

@@ -150,7 +150,7 @@ class MyGenerator extends yeoman.Base {
if (typeof mappedFilename === 'string') { if (typeof mappedFilename === 'string') {
outputFn = mappedFilename; outputFn = mappedFilename;
} else { } else {
fileIsExcludedByTemplateConfig = true; fileIsExcludedByTemplateConfig = (mappedFilename === false);
} }
// Decide whether to emit this file // Decide whether to emit this file