Skip to content

Commit b135918

Browse files
authored
chore: typos in comments (#20259)
1 parent 3f46901 commit b135918

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vite/src/module-runner/sourcemap/interceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ function CallSiteToString(this: CallSite) {
298298
const isMethodCall = !(this.isToplevel() || isConstructor)
299299
if (isMethodCall) {
300300
let typeName = this.getTypeName()
301-
// Fixes shim to be backward compatable with Node v0 to v4
301+
// Fixes shim to be backward compatible with Node v0 to v4
302302
if (typeName === '[object Object]') typeName = 'null'
303303

304304
const methodName = this.getMethodName()

playground/tsconfig-json-load-error/__tests__/tsconfig-json-load-error.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe.runIf(isBuild)('build', () => {
2626

2727
describe.runIf(isServe)('server', () => {
2828
test('should log 500 error in browser for malformed tsconfig', () => {
29-
// don't test for actual complete message as this might be locale dependant. chrome does log 500 consistently though
29+
// don't test for actual complete message as this might be locale dependent. chrome does log 500 consistently though
3030
expect(browserLogs.find((x) => x.includes('500'))).toBeTruthy()
3131
expect(browserLogs).not.toContain('tsconfig error fixed, file loaded')
3232
})

0 commit comments

Comments
 (0)