Skip to content

Commit

Permalink
fix: electron-builder install-app-deps does not honor build.directori…
Browse files Browse the repository at this point in the history
…es.app

Close #1721
  • Loading branch information
develar committed Jun 21, 2017
1 parent f1b6535 commit 6db68be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/electron-builder/src/util/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function loadConfig(projectDir: string, packageMetadata?: any): Promise<Co
export async function getConfig(projectDir: string, configPath: string | null, packageMetadata: any | null, configFromOptions: Config | null | undefined): Promise<Config> {
let fileOrPackageConfig
if (configPath == null) {
fileOrPackageConfig = packageMetadata == null ? null : await loadConfig(projectDir, packageMetadata)
fileOrPackageConfig = await loadConfig(projectDir, packageMetadata)
}
else {
fileOrPackageConfig = await doLoadConfig(path.resolve(projectDir, configPath), projectDir)
Expand Down

0 comments on commit 6db68be

Please sign in to comment.