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(
8787 if ( isRunInBrowser ) {
8888 return {
8989 svelteKitVersion,
90- // Judge by only file path if it runs on browser.
90+ // Judge by only file path if it runs in browser.
9191 svelteKitFileType : getSvelteKitFileTypeFromFilePath ( filePath )
9292 } ;
9393 }
@@ -121,7 +121,7 @@ function getSvelteKitContext(
121121 * @returns
122122 */
123123function 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.
125125 if ( isRunInBrowser ) return 2 ;
126126 try {
127127 const packageJson = getPackageJson ( filePath ) ;
You can’t perform that action at this time.
0 commit comments