mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-02 12:27:08 +01:00
Fix YML/JSON/PNG invalid output format warning.
Fixes #97 but we still need to support standalone PNG (ie, a PNG not generated as part of a .all output target).
This commit is contained in:
2
dist/verbs/build.js
vendored
2
dist/verbs/build.js
vendored
@ -242,12 +242,12 @@ Implementation of the 'build' verb for HackMyResume.
|
||||
fmt: targInfo.fmt.outFormat,
|
||||
file: PATH.relative(process.cwd(), f)
|
||||
});
|
||||
_opts.targets = finished;
|
||||
if (targInfo.fmt.files && targInfo.fmt.files.length) {
|
||||
theFormat = _fmts.filter(function(fmt) {
|
||||
return fmt.name === targInfo.fmt.outFormat;
|
||||
})[0];
|
||||
MKDIRP.sync(PATH.dirname(f));
|
||||
_opts.targets = finished;
|
||||
ret = theFormat.gen.generate(_rezObj, f, _opts);
|
||||
} else {
|
||||
theFormat = _fmts.filter(function(fmt) {
|
||||
|
Reference in New Issue
Block a user