diff options
| author | Veetaha <veetaha2@gmail.com> | 2020-02-09 12:54:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-09 12:54:51 +0200 |
| commit | a3e3fba7bf9cbaa51d39ecfd2b111472fdbf4cb3 (patch) | |
| tree | 9075797445b2740ffb212d1f6996db1c3eec1d17 /editors/code | |
| parent | d08ae7e82f9eb4abb92f1274ea361acb21fd7b87 (diff) | |
| download | rust-a3e3fba7bf9cbaa51d39ecfd2b111472fdbf4cb3.tar.gz rust-a3e3fba7bf9cbaa51d39ecfd2b111472fdbf4cb3.zip | |
vscode: fix chmod to octal literal
Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/src/installation/language_server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/installation/language_server.ts b/editors/code/src/installation/language_server.ts index d09fc63a7d6..ea1228e4659 100644 --- a/editors/code/src/installation/language_server.ts +++ b/editors/code/src/installation/language_server.ts @@ -48,7 +48,7 @@ export async function downloadLatestLanguageServer( } ); - await fs.chmod(installationPath, 755); // Set (rwx, r_x, r_x) permissions + await fs.chmod(installationPath, 0o755); // Set (rwx, r_x, r_x) permissions } export async function ensureLanguageServerBinary( langServerSource: null | BinarySource |
