How to use the exit function from cli
Find comprehensive JavaScript cli.exit code examples handpicked from public code repositorys.
GitHub: jantimon/html-minifier

164 165 166 167 168 169 170 171 172 173
minifyOptions = fileOptions; } } catch (e) { process.stderr.write('Error: Cannot read the specified config file'); cli.exit(1); } } mainOptionKeys.forEach(function(key) {
+ 15 other calls in file