Skip to content

Commit

Permalink
typo: shold -> should (#2226)
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho committed Dec 19, 2022
1 parent 087f0fa commit 7d4c5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/language-core/src/languageContext.ts
Expand Up @@ -119,11 +119,11 @@ export function createEmbeddedLanguageServiceHost(
function update() {

const newProjectVersion = host.getProjectVersion?.();
const sholdUpdate = newProjectVersion === undefined || newProjectVersion !== lastProjectVersion;
const shouldUpdate = newProjectVersion === undefined || newProjectVersion !== lastProjectVersion;

lastProjectVersion = newProjectVersion;

if (!sholdUpdate)
if (!shouldUpdate)
return;

let tsFileUpdated = false;
Expand Down

0 comments on commit 7d4c5a3

Please sign in to comment.