Make sonarcloud happier (#1810)

This commit is contained in:
Michael Telatynski
2024-07-31 15:08:06 +01:00
committed by GitHub
parent 6239aa5d9f
commit 13a0d0d3e2
4 changed files with 8 additions and 7 deletions

View File

@@ -97,15 +97,16 @@ export default class HakEnv {
}
public makeGypEnv(): Record<string, string | undefined> {
return Object.assign({}, process.env, {
return {
...process.env,
npm_config_arch: this.target.arch,
npm_config_target_arch: this.target.arch,
npm_config_disturl: "https://electronjs.org/headers",
npm_config_runtime: this.runtime,
npm_config_target: this.runtimeVersion,
npm_config_build_from_source: true,
npm_config_build_from_source: "true",
npm_config_devdir: path.join(os.homedir(), ".electron-gyp"),
});
};
}
public wantsStaticSqlCipher(): boolean {