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:
parent
59dbb1f88f
commit
f8f4016b33
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue