From 0ea372371e3bba766aa32baf988bc184a6140223 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Wed, 31 Oct 2018 16:43:11 +0100 Subject: [PATCH] Fix accidental fallthrough in snapshot loader --- build/lib/snapshotLoader.js | 1 + build/lib/snapshotLoader.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/build/lib/snapshotLoader.js b/build/lib/snapshotLoader.js index 9a047e0f694..ee626a0f7f1 100644 --- a/build/lib/snapshotLoader.js +++ b/build/lib/snapshotLoader.js @@ -24,6 +24,7 @@ var snaps; case 'linux': loaderFilepath = `VSCode-${process.platform}-${arch}/resources/app/out/vs/loader.js`; startupBlobFilepath = `VSCode-${process.platform}-${arch}/snapshot_blob.bin`; + break; default: throw new Error('Unknown platform'); } diff --git a/build/lib/snapshotLoader.ts b/build/lib/snapshotLoader.ts index 3bc379697c8..40b06d67d05 100644 --- a/build/lib/snapshotLoader.ts +++ b/build/lib/snapshotLoader.ts @@ -30,6 +30,7 @@ namespace snaps { case 'linux': loaderFilepath = `VSCode-${process.platform}-${arch}/resources/app/out/vs/loader.js`; startupBlobFilepath = `VSCode-${process.platform}-${arch}/snapshot_blob.bin`; + break; default: throw new Error('Unknown platform');