Skip to content

Commit 11477a0

Browse files
committed
I guess globby gives back '/' always
1 parent e1e1847 commit 11477a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epicshop/setup-custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async function runAllSeeds() {
5151
// Create the relative path to the seed file from the exercise directory
5252
const seedFilePath = path.relative(exerciseDir, file)
5353

54-
const label = file.split(path.sep).slice(1, 3).join(path.sep)
54+
const label = file.split('/').slice(1, 3).join('/')
5555
try {
5656
await execWithBufferedOutput('npx', ['tsx', seedFilePath], {
5757
cwd: exerciseDir,

0 commit comments

Comments
 (0)