From e4ef3c3d286fbf129cdba2965f4fe6fbb0ace1ea Mon Sep 17 00:00:00 2001 From: aabidsofi19 Date: Wed, 20 Dec 2023 19:23:22 +0530 Subject: [PATCH] update workflow and loggin Signed-off-by: aabidsofi19 --- .github/workflows/npm-publish.yml | 1 - src/app.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index f3c55d0..ace637e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -21,7 +21,6 @@ jobs: node-version: 16 - run: | npm install - npm run dist publish-gpr: needs: build runs-on: ubuntu-latest diff --git a/src/app.js b/src/app.js index ea38169..a8e01e6 100755 --- a/src/app.js +++ b/src/app.js @@ -20,9 +20,8 @@ const compileApi = (tsPath, outputPath) => { // read ts file const tsFile = fs.readFileSync(tsPath, "utf8"); const result = ts.transpile(tsFile, compileConfig); - // write the result to output file + console.log("Writing output to " + outputPath); fs.writeFileSync(outputPath, result); - console.log("wrote output to " + outputPath); }; // Function to run a command and handle success or failure