bluedither 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/extract.js +6 -2
- package/package.json +1 -1
package/cli/commands/extract.js
CHANGED
|
@@ -113,8 +113,12 @@ export default async function extract(args) {
|
|
|
113
113
|
allPresent = false;
|
|
114
114
|
}
|
|
115
115
|
} catch (e) {
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
if (e.code === 'ERR_MODULE_NOT_FOUND' || e.code === 'MODULE_NOT_FOUND') {
|
|
117
|
+
console.log(' – Skipped (ajv not installed)');
|
|
118
|
+
} else {
|
|
119
|
+
console.log(` ✗ Validation error: ${e.message}`);
|
|
120
|
+
allPresent = false;
|
|
121
|
+
}
|
|
118
122
|
}
|
|
119
123
|
}
|
|
120
124
|
}
|