Skip to content

Commit

Permalink
Remove bin
Browse files Browse the repository at this point in the history
  • Loading branch information
MulverineX committed Oct 24, 2023
1 parent 20cbfc3 commit 129e83a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"description": "The Build component for the Sandstone CLI.",
"type": "module",
"exports": "./lib/index.js",
"bin": {
"sand-build": "./lib/index.js"
},
"scripts": {
"test": "echo NO TESTS",
"build": "tsc"
Expand Down
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,4 @@ function logError(err?: Error, file?: string) {
}
}

process.on('unhandledRejection', logError)
process.on('uncaughtException', logError)

buildProject(JSON.parse(process.env.CLI_OPTIONS as string), JSON.parse(process.env.PROJECT_FOLDERS as string));
buildProject(JSON.parse(process.env.CLI_OPTIONS as string), JSON.parse(process.env.PROJECT_FOLDERS as string) as ProjectFolders);

0 comments on commit 129e83a

Please sign in to comment.