Skip to content

Commit 2d9372b

Browse files
committed
Using exec with other options
1 parent 1f80f83 commit 2d9372b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/deploy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ const exec_command = (command) => __awaiter(void 0, void 0, void 0, function* ()
5252
options.env = {
5353
"VERCEL_TOKEN": "process.env.VERCEL_TOKEN"
5454
};
55-
yield exec.exec(command, [], options);
56-
console.log(stdout, stderr);
55+
yield exec.exec(command);
56+
/*console.log(stdout, stderr);
5757
console.log("Stdout: ", stdout);
58-
console.log("Stderr: ", stderr);
58+
console.log("Stderr: ", stderr);*/
5959
return stdout;
6060
});
6161
const deploy = (command, deployAlias) => __awaiter(void 0, void 0, void 0, function* () {

src/deploy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ const exec_command = async (command: string): Promise<string> => {
2727
options.env = {
2828
"VERCEL_TOKEN": "process.env.VERCEL_TOKEN"
2929
}
30-
await exec.exec(command, [], options);
31-
console.log(stdout, stderr);
30+
await exec.exec(command);
31+
/*console.log(stdout, stderr);
3232
console.log("Stdout: ", stdout);
33-
console.log("Stderr: ", stderr);
33+
console.log("Stderr: ", stderr);*/
3434
return stdout
3535
}
3636

0 commit comments

Comments
 (0)