Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(async () => {
if (options.outSVGPath) {
const outPath = await generate.generateIconsSource(options);
console.log(`${color.green('SUCCESS')} Created ${outPath} `);
}
if (options.outSVGReact) {
const outPath = await generate.generateReactIcons(options);
console.log(`${color.green('SUCCESS')} Created React Components. `);
}
return options;
});
}
loading.prototype.succeed = function (text) {
return this.stopAndPersist(color.green('✔'), text);
}
loading.prototype.fail = function (text) {