File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/eslint-plugin-svelte/src/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ function getSvelteKitContext(
87
87
if ( isRunInBrowser ) {
88
88
return {
89
89
svelteKitVersion,
90
- // Judge by only file path if it runs on browser.
90
+ // Judge by only file path if it runs in browser.
91
91
svelteKitFileType : getSvelteKitFileTypeFromFilePath ( filePath )
92
92
} ;
93
93
}
@@ -121,7 +121,7 @@ function getSvelteKitContext(
121
121
* @returns
122
122
*/
123
123
function getSvelteKitVersion ( filePath : string ) : SvelteContext [ 'svelteKitVersion' ] {
124
- // Hack: if it runs on browser, it regards as SvelteKit project.
124
+ // Hack: if it runs in browser, it regards as SvelteKit project.
125
125
if ( isRunInBrowser ) return 2 ;
126
126
try {
127
127
const packageJson = getPackageJson ( filePath ) ;
You can’t perform that action at this time.
0 commit comments