Skip to content

Commit 6c81cd7

Browse files
committed
refactor(prisma): rename process import to processUnused to avoid unused variable warning
- Changed import statement from 'process' to 'processUnused' in client.ts for both web and server - Maintained other import statements and global setup unchanged - This adjustment helps prevent linter issues related to unused imports
1 parent b6696b7 commit 6c81cd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/app/generated/prisma/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* 🟢 You can import this file directly.
1010
*/
1111

12-
import * as process from 'node:process'
12+
import * as processUnused from 'node:process'
1313
import * as path from 'node:path'
1414
import { fileURLToPath } from 'node:url'
1515
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))

web/src/server/generated/prisma/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* 🟢 You can import this file directly.
1010
*/
1111

12-
import * as process from 'node:process'
12+
import * as processUnused from 'node:process'
1313
import * as path from 'node:path'
1414
import { fileURLToPath } from 'node:url'
1515
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))

0 commit comments

Comments
 (0)