Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwengier authored Jul 2, 2024
1 parent 071aae2 commit d416d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/razor/src/razorLanguageServerOptionsResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function findLanguageServerExecutable(withinDir: string) {
pathWithExtension = `${fileName}.dll`;
}

let fullPath = path.join(withinDir, pathWithExtension);
const fullPath = path.join(withinDir, pathWithExtension);

if (!fs.existsSync(fullPath)) {
throw new Error(
Expand All @@ -76,4 +76,4 @@ function isWindows() {

function isMacOS() {
return os.platform() === 'darwin';
}
}

0 comments on commit d416d1d

Please sign in to comment.