chore(package): update xo to version 0.24.0

This commit is contained in:
greenkeeper[bot]
2019-01-30 17:27:04 -05:00
committed by Pierre Vanduynslager
parent 1b7d8b2d21
commit 448a0ff977
12 changed files with 21 additions and 6 deletions
+2
View File
@@ -40,9 +40,11 @@ module.exports = (context, type, pluginOpt, pluginsPath) => {
if (outputValidator && !outputValidator(result)) {
throw getError(`E${type.toUpperCase()}OUTPUT`, {result, pluginName});
}
logger.success(`Completed step "${type}" of plugin "${pluginName}"`);
return result;
}
logger.warn(`Skip step "${type}" of plugin "${pluginName}" in dry-run mode`);
} catch (error) {
logger.error(`Failed step "${type}" of plugin "${pluginName}"`);