File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,6 @@ export default defineAdder({
365365 content : ( { content, typescript } ) => {
366366 const { ast, generateCode } = parseScript ( content ) ;
367367 imports . addNamespace ( ast , '$lib/server/auth.js' , 'auth' ) ;
368- imports . addNamed ( ast , '$app/environment' , { dev : 'dev' } ) ;
369368 kit . addHooksHandle ( ast , typescript , 'handleAuth' , getAuthHandleContent ( ) ) ;
370369 return generateCode ( ) ;
371370 }
@@ -394,7 +393,6 @@ export default defineAdder({
394393 import { encodeBase32LowerCaseNoPadding } from '@oslojs/encoding';
395394 import { fail, redirect } from '@sveltejs/kit';
396395 import { eq } from 'drizzle-orm';
397- import { dev } from '$app/environment';
398396 import * as auth from '$lib/server/auth';
399397 import { db } from '$lib/server/db';
400398 import * as table from '$lib/server/db/schema';
You can’t perform that action at this time.
0 commit comments