Skip to content

Commit

Permalink
use node prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevcodez committed Feb 1, 2024
1 parent 79bbb49 commit f8f0e5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/lib/sql/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { readFile } from 'fs/promises'
import { dirname, join } from 'path'
import { fileURLToPath } from 'url'
import { readFile } from 'node:fs/promises'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'

const __dirname = dirname(fileURLToPath(import.meta.url))
export const columnPrivilegesSql = await readFile(join(__dirname, 'column_privileges.sql'), 'utf-8')
Expand Down
6 changes: 3 additions & 3 deletions test/server/ssl.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import CryptoJS from 'crypto-js'
import fs from 'fs'
import path from 'path'
import { fileURLToPath } from 'url'
import fs from 'node:fs'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { app } from './utils'
import { CRYPTO_KEY, DEFAULT_POOL_CONFIG } from '../../src/server/constants'

Expand Down

0 comments on commit f8f0e5c

Please sign in to comment.