Skip to content

Commit acf54d6

Browse files
committed
Fix linting issue
1 parent ba7a110 commit acf54d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

verify/next/vite.config.extHostWorker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const config = defineConfig({
4444
let newURL = new URL(browserUri.toString().replace('file://', ''), import.meta.url);
4545
console.log("newURL: " + newURL.toString());
4646
const response = await fetch((newURL));`;
47-
let outputCode = code.replace(search, newCode);
47+
const outputCode = code.replace(search, newCode);
4848
return outputCode;
4949
}
5050
}

verify/next/vite.config.textmateWorker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const config = defineConfig({
3737
if (id.endsWith('textMateTokenizationWorker.worker.js')) {
3838
const code = fs.readFileSync(id, 'utf8');
3939
const base64 = fs.readFileSync('./node_modules/@codingame/monaco-vscode-textmate-service-override/external/vscode-oniguruma/release/onig.wasm', 'base64');
40-
let outputCode = code.replace(
40+
const outputCode = code.replace(
4141
'const response = await fetch(onigurumaWASMUri);',
4242
`const response = await fetch('data:application/wasm;base64,${base64}')`
4343
);

0 commit comments

Comments
 (0)