Skip to content

Commit cacff3e

Browse files
use console log instead of core.debug
1 parent 718983d commit cacff3e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"build": "ncc build index.js --out dist",
7+
"build": "cd wrapper && npm run build && cd .. && ncc build index.js --out dist",
88
"postinstall": "husky install"
99
},
1010
"repository": {

wrapper/stackql.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ async function checkStackQL () {
3131
ignoreReturnCode: true
3232
};
3333
const exitCode = await exec(pathToCLI, args, options);
34-
core.debug(`StackQL exited with code ${exitCode}.`);
35-
core.debug(`stdout: ${stdout.contents}`);
36-
core.debug(`stderr: ${stderr.contents}`);
37-
core.debug(`exitcode: ${exitCode}`);
34+
console.log(`StackQL exited with code ${exitCode}.`);
35+
console.log(`stdout: ${stdout.contents}`);
36+
console.log(`stderr: ${stderr.contents}`);
37+
console.log(`exitcode: ${exitCode}`);
3838

3939
// Set outputs, result, exitcode, and stderr
4040
core.setOutput('stdout', stdout.contents);

0 commit comments

Comments
 (0)