Skip to content

Commit

Permalink
fs.chmodSync accepts number modes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Jul 14, 2019
1 parent 60a79b9 commit b0fda85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export async function activate(context: ExtensionContext) {
let serverMain = context.asAbsolutePath(binName());

// Make sure the server is executable
fs.chmodSync(serverMain, "+x")
fs.chmodSync(serverMain, '755')

let serverOptions: ServerOptions = {
command: serverMain,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Yatao Li",
"license": "MIT",
"icon": "Icon512.png",
"version": "0.1.52",
"version": "0.1.53",
"publisher": "yatli",
"repository": {
"type": "git",
Expand Down

0 comments on commit b0fda85

Please sign in to comment.