We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2c495b commit a426bb6Copy full SHA for a426bb6
packages/cli-v3/src/config.ts
@@ -142,7 +142,11 @@ async function resolveConfig(
142
const lockfilePath = await resolveLockfile(cwd);
143
const workspaceDir = await findWorkspaceDir(cwd);
144
145
- const workingDir = packageJsonPath ? dirname(packageJsonPath) : cwd;
+ const workingDir = result.configFile
146
+ ? dirname(result.configFile)
147
+ : packageJsonPath
148
+ ? dirname(packageJsonPath)
149
+ : cwd;
150
151
const config =
152
"config" in result.config ? (result.config.config as TriggerConfig) : result.config;
0 commit comments