Skip to content

Commit

Permalink
Fix bin script
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Apr 6, 2022
1 parent ed15863 commit 9c7dcf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bin/solidity-ls.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node

const { createServer } = require("../dist");
createServer();
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dist/index.js"
],
"bin": {
"solidity-ls": "dist/index.js"
"solidity-ls": "bin/solidity-ls.js"
},
"dependencies": {
"prettier": "^2.5.1",
Expand Down

0 comments on commit 9c7dcf6

Please sign in to comment.