We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95b77f8 commit 836012bCopy full SHA for 836012b
packages/playwright/src/plugins/plugin.ts
@@ -65,7 +65,7 @@ export const createNodes: CreateNodes<PlaywrightPluginOptions> = [
65
const projectRoot = dirname(configFilePath);
66
67
// Do not create a project if package.json and project.json isn't there.
68
- const siblingFiles = readdirSync(projectRoot);
+ const siblingFiles = readdirSync(join(context.workspaceRoot, projectRoot));
69
if (
70
!siblingFiles.includes('package.json') &&
71
!siblingFiles.includes('project.json')
0 commit comments