Skip to content

Commit

Permalink
Merge pull request #4639 from Shopify/fix-config-state-after-linking
Browse files Browse the repository at this point in the history
Config state after linking should include the real app directory
  • Loading branch information
isaacroldan authored Oct 11, 2024
2 parents bce99d1 + 4e69074 commit fa5f3c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/cli/services/app/config/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ export default async function link(options: LinkOptions, shouldRenderSuccess = t
const state: AppConfigurationStateLinked = {
state: 'connected-app',
basicConfiguration: mergedAppConfiguration,
appDirectory: options.directory,
configurationPath: joinPath(options.directory, configFileName),
appDirectory,
configurationPath: joinPath(appDirectory, configFileName),
configSource: options.configName ? 'flag' : 'cached',
configurationFileName: configFileName,
}
Expand Down

0 comments on commit fa5f3c1

Please sign in to comment.