Skip to content

Commit

Permalink
fix: correctly import stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi committed May 9, 2024
1 parent 64f3a4a commit be3c45e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stubs/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { dirname } from 'node:path'
import { fileURLToPath } from 'node:url'
import { getDirname } from '@poppinss/utils'

export const stubsRoot = dirname(fileURLToPath(import.meta.url))
export const stubsRoot = getDirname(import.meta.url)

0 comments on commit be3c45e

Please sign in to comment.