Skip to content

Commit 469709a

Browse files
authored
fix: include path resolution should run from root (#1178)
1 parent 1a8e70c commit 469709a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli/src/services/util.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,8 @@ export async function loadPlaywrightProjectFiles (
320320
prefix,
321321
})
322322
for (const includePattern of include) {
323-
archive.glob(includePattern, { cwd: dir }, {
323+
archive.glob(includePattern, { cwd: root }, {
324324
...entryDefaults,
325-
prefix,
326325
})
327326
}
328327
for (const filePath of extraFiles) {

0 commit comments

Comments
 (0)