Skip to content

Commit 83e1e2d

Browse files
remove some more console.log
1 parent 9d10f3f commit 83e1e2d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run build && git add dist/
4+
npm run build && git add dist/ && git add wrapper/

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6759,18 +6759,18 @@ async function installWrapper (pathToCLI) {
67596759
try {
67606760
source = [pathToCLI, `stackql${exeSuffix}`].join(path.sep);
67616761
target = [pathToCLI, `stackql-bin${exeSuffix}`].join(path.sep);
6762-
console.log(`Moving ${source} to ${target}.`);
6762+
core.debug(`Moving ${source} to ${target}.`);
67636763
await io.mv(source, target);
67646764
} catch (e) {
6765-
console.log(`Unable to move ${source} to ${target}.`);
6765+
core.debug(`Unable to move ${source} to ${target}.`);
67666766
throw e;
67676767
}
67686768

67696769
// Install our wrapper as stackql by moving the wrapped executable to stackql
67706770
try {
67716771
source = path.resolve([__dirname, '..', 'wrapper', 'dist', 'index.js'].join(path.sep));
67726772
target = [pathToCLI, 'stackql'].join(path.sep);
6773-
console.log(`Copying ${source} to ${target}.`);
6773+
core.debug(`Copying ${source} to ${target}.`);
67746774
await io.cp(source, target);
67756775
} catch (e) {
67766776
core.error(`Unable to copy ${source} to ${target}.`);

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ async function installWrapper (pathToCLI) {
5757
try {
5858
source = [pathToCLI, `stackql${exeSuffix}`].join(path.sep);
5959
target = [pathToCLI, `stackql-bin${exeSuffix}`].join(path.sep);
60-
console.log(`Moving ${source} to ${target}.`);
60+
core.debug(`Moving ${source} to ${target}.`);
6161
await io.mv(source, target);
6262
} catch (e) {
63-
console.log(`Unable to move ${source} to ${target}.`);
63+
core.debug(`Unable to move ${source} to ${target}.`);
6464
throw e;
6565
}
6666

6767
// Install our wrapper as stackql by moving the wrapped executable to stackql
6868
try {
6969
source = path.resolve([__dirname, '..', 'wrapper', 'dist', 'index.js'].join(path.sep));
7070
target = [pathToCLI, 'stackql'].join(path.sep);
71-
console.log(`Copying ${source} to ${target}.`);
71+
core.debug(`Copying ${source} to ${target}.`);
7272
await io.cp(source, target);
7373
} catch (e) {
7474
core.error(`Unable to copy ${source} to ${target}.`);

0 commit comments

Comments
 (0)