Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
go.testEnvVars should override go.testEnvFile (#2585)
Browse files Browse the repository at this point in the history
  • Loading branch information
coopermaruyama authored and ramya-rao-a committed Jun 28, 2019
1 parent 65b3942 commit 6fadb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export function getTestEnvVars(config: vscode.WorkspaceConfiguration): any {
}
}

Object.keys(testEnvConfig).forEach(key => envVars[key] = typeof testEnvConfig[key] === 'string' ? resolvePath(testEnvConfig[key]) : testEnvConfig[key]);
Object.keys(fileEnv).forEach(key => envVars[key] = typeof fileEnv[key] === 'string' ? resolvePath(fileEnv[key]) : fileEnv[key]);
Object.keys(testEnvConfig).forEach(key => envVars[key] = typeof testEnvConfig[key] === 'string' ? resolvePath(testEnvConfig[key]) : testEnvConfig[key]);

return envVars;
}
Expand Down

0 comments on commit 6fadb7b

Please sign in to comment.