From ec5162fa7f2344ea86e11237383cb9d5ce5707aa Mon Sep 17 00:00:00 2001 From: Vladimir Serov Date: Thu, 21 May 2020 21:32:27 +0300 Subject: editors/vscode: forgotten await in os check --- editors/code/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/src') diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index dbb241192..42685e0c7 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts @@ -280,7 +280,7 @@ async function getServer(config: Config, state: PersistentState): Promise true).catch(_ => false)) { + if (await fs.stat("/etc/nixos").then(_ => true).catch(_ => false)) { await patchelf(dest); } -- cgit v1.2.3