Skip to content

Commit f36b8d6

Browse files
committed
removed logs
1 parent 6862e8d commit f36b8d6

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

dist/index.js

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,13 @@ export async function run(): Promise<void> {
191191
const tsDocStr: StepResponse | undefined = doTests
192192
? await commandComment({ label: "TSDoc", command: "npm run docs" })
193193
: undefined;
194-
console.log("finished tsDoc");
194+
195195
const [checkModifiedFilesStr, modified]: [StepResponse, boolean] =
196196
await checkModifiedFiles({
197197
label: "Check for modified files",
198198
command: "git status --porcelain",
199-
// 'echo "modified=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)" >> $GITHUB_ENV',
200199
});
201-
console.log("modified: ", modified);
200+
202201
// TODO: THIS DIDN't fail
203202
const updateChangesStr: StepResponse | undefined = modified
204203
? await updateChanges({
@@ -213,7 +212,6 @@ export async function run(): Promise<void> {
213212
],
214213
})
215214
: undefined;
216-
console.log("updateChangesStr: ", updateChangesStr);
217215

218216
// runCoverage
219217
// const coverageStr: StepResponse | undefined = runCoverage

src/scripts/post.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ export const checkModifiedFiles = async (
99
.then(async (str) => {
1010
const response = { output: "", error: false };
1111
if (str.trim() !== "") {
12-
console.log("str 1: ", str);
1312
filesModified = true;
1413
return await buildComment(response, str, command.label);
1514
} else {
16-
console.log("str 2: ", str);
1715
return await buildComment(response, str, command.label);
1816
}
1917
})
@@ -32,7 +30,6 @@ export const updateChanges = async (
3230
let response: StepResponse = { output: "", error: false };
3331

3432
for (const cmd of command.commandList as string[]) {
35-
console.log("cmd: ", cmd);
3633
await runBashCommand(cmd).catch(async (error) => {
3734
setFailed(`Failed to execute command "${cmd}": ${error as string}`);
3835
response.error = true;

0 commit comments

Comments
 (0)