dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/tmp/test/keep-sync.js

13 lines
202 B
JavaScript
Raw Normal View History

2016-09-11 09:29:13 +01:00
var spawn = require('./spawn-sync');
var keep = spawn.arg;
try {
var result = spawn.tmpFunction({ keep: keep });
spawn.out(result.name, spawn.exit);
}
catch (e) {
spawn.err(err, spawn.exit);
}