batch-cluster
Version:
Manage a cluster of child processes
13 lines • 420 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.SimpleParser = void 0;
const String_1 = require("./String");
const SimpleParser = (stdout, stderr, passed) => {
if (!passed)
throw new Error("task failed");
if ((0, String_1.notBlank)(stderr))
throw new Error(stderr);
return stdout;
};
exports.SimpleParser = SimpleParser;
//# sourceMappingURL=Parser.js.map
;