Skip to content

Commit c8ee547

Browse files
authored
Ensure config "extensions" do not mutate the cached config. Fix #1985 (#1986)
1 parent ec23bbc commit c8ee547

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/config.extensions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
const merge = require('lodash.merge');
12

23
module.exports = config => {
4+
config = merge({}, config);
35
config.extensions = {};
46
config.extensions.InteractiveComputeHost = process.env.DEEPFORGE_INTERACTIVE_COMPUTE_HOST;
57
return config;

0 commit comments

Comments
 (0)