Skip to content

Commit

Permalink
Ensure config "extensions" do not mutate the cached config. Fix #1985 (
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb authored Jan 7, 2021
1 parent ec23bbc commit c8ee547
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.extensions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const merge = require('lodash.merge');

module.exports = config => {
config = merge({}, config);
config.extensions = {};
config.extensions.InteractiveComputeHost = process.env.DEEPFORGE_INTERACTIVE_COMPUTE_HOST;
return config;
Expand Down

0 comments on commit c8ee547

Please sign in to comment.