mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
13 lines
202 B
JavaScript
13 lines
202 B
JavaScript
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);
|
|
}
|
|
|