Skip to content

Commit 8fd75e1

Browse files
committed
Fix whitespaces in error messages
1 parent e7275d3 commit 8fd75e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hlsBinaries.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ export async function downloadHaskellLanguageServer(context: ExtensionContext, l
171171
// install new hls
172172
if (updateBehaviour === 'never-check') {
173173
throw new Error(
174-
"No version of HLS installed or found and updateBehaviour set to 'never-check'" + 'giving up...'
174+
"No version of HLS installed or found and updateBehaviour set to 'never-check' giving up..."
175175
);
176176
} else if (updateBehaviour === 'prompt') {
177177
const promptMessage =
178178
'No version of the haskell-language-server is installed, would you like to install it now?';
179179

180180
const decision = await window.showInformationMessage(promptMessage, 'Download', 'Nevermind');
181181
if (decision !== 'Download') {
182-
throw new Error('No version of HLS installed or found and installation was denied' + 'giving up...');
182+
throw new Error('No version of HLS installed or found and installation was denied, giving up...');
183183
}
184184
}
185185
await callAsync(

0 commit comments

Comments
 (0)