Fix #574 - Allow build to continue if icon conversion fails (PR#585)

By unsetting `options.icon` if input cannot be converted.
This commit is contained in:
David Kramer 2018-04-22 12:57:58 -07:00 committed by Ronan Jouchet
parent bbb513d420
commit 2d09455c17
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ function iconBuild(inpOptions, callback) {
})
.catch((error) => {
log.warn('Skipping icon conversion to .icns', error);
options.icon = undefined;
returnCallback();
});
}