@pact-foundation/pact-cli
Version:
Broker CLI for @pact-foundation/pact
15 lines • 634 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const childProcess = require("child_process");
const pact_standalone_1 = require("../src/pact-standalone");
const args = process.argv.slice(2);
const opts = pact_standalone_1.standaloneUseShell ? { shell: true } : {};
const { error, status } = childProcess.spawnSync((0, pact_standalone_1.standalone)().messageFullPath, (0, pact_standalone_1.setStandaloneArgs)(args, pact_standalone_1.standaloneUseShell), {
stdio: 'inherit',
...opts,
});
if (error)
throw error;
process.exit(status);
//# sourceMappingURL=pact-message.js.map