Skip to content

Commit 78f0c70

Browse files
committed
fix(errors): Cannot find module "@flex-development/pathe"
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 5bc5098 commit 78f0c70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/errors/err-invalid-package-target.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import type {
1111
NodeErrorConstructor,
1212
Stringifiable
1313
} from '#src/interfaces'
14-
import { sep } from '@flex-development/pathe'
1514
import { DOT } from '@flex-development/tutils'
1615
import { ok } from 'devlop'
1716

@@ -150,7 +149,7 @@ const ERR_INVALID_PACKAGE_TARGET: ErrInvalidPackageTargetConstructor = E(
150149
}
151150

152151
if (base !== null) message += ` imported from ${String(base)}`
153-
if (relativeError) message += `; targets must start with "${DOT}${sep}"`
152+
if (relativeError) message += `; targets must start with "${DOT}/"`
154153

155154
return message
156155
}

0 commit comments

Comments
 (0)