From 02b42acd9039188f0b0aa0def56250d11f5f60cd Mon Sep 17 00:00:00 2001 From: Alexei Gontar Date: Wed, 19 Sep 2018 20:26:10 +0300 Subject: [PATCH] Ignore errors during symlink. --- src/main/utils/ExtractTreeProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/utils/ExtractTreeProvider.ts b/src/main/utils/ExtractTreeProvider.ts index 6da915a..e53260a 100644 --- a/src/main/utils/ExtractTreeProvider.ts +++ b/src/main/utils/ExtractTreeProvider.ts @@ -119,6 +119,7 @@ export class ExtractTreeProvider { .then(() => { // tslint:disable-next-line chmodSync(linkPath, constants.S_IXUSR | constants.S_IRUSR); - }); + }) + .catch(noop); // TODO: test that it's good idea to ignore error here } }