Skip to content

Commit

Permalink
update workflow and loggin
Browse files Browse the repository at this point in the history
Signed-off-by: aabidsofi19 <[email protected]>
  • Loading branch information
aabidsofi19 committed Dec 20, 2023
1 parent b6723cd commit e4ef3c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
node-version: 16
- run: |
npm install
npm run dist
publish-gpr:
needs: build
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4ef3c3

Please sign in to comment.