How to use the @absolunet/terminal.terminal.error function in @absolunet/terminal

To help you get started, we’ve selected a few @absolunet/terminal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github absolunet / nwayo / packages / workflow / classes / extension.js View on Github external
error(error) {
		terminal.error(`[nwayo-extension:${this.id} error]`);
		terminal.echo(error);
		terminal.exit();
	}
github absolunet / nwayo / packages / workflow / tasks / scripts.js View on Github external
exec(`node ${paths.config.lodashBin} ${options} --development --output ${file}`, (error, stdout, stderr) => {
					if (error !== null) {
						terminal.error(stderr);
					}
					log('Lodash', file);
					resolve();
				});
			});
github absolunet / nwayo / packages / workflow / tasks / icons.js View on Github external
gmfile.identify((error, info) => {
								if (error) {
									terminal.error(error);
								}
								done(null, toolbox.gmOptimization(gmfile.resize(size, size), info));
							});
						})))
github absolunet / nwayo / packages / workflow / tasks / assets.js View on Github external
gmfile.identify((error, info) => {
						if (error) {
							terminal.error(error);
						}
						toolbox.gmOptimization(gmfile.resize('50%', '50%'), info);
						done(null, gmfile);
					});
				}))