We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6afd43d commit cdc1ad3Copy full SHA for cdc1ad3
src/models/Project.js
@@ -38,7 +38,7 @@ class Project {
38
_manager: Manager,
39
setConfig: ((setFun) => {
40
let currentConfig = this.config.getConfig(),
41
- nextConfig = setFun(currentConfig);
+ nextConfig = (setFun && setFun(currentConfig)) || {};
42
43
if(nextConfig.context && !sysPath.isAbsolute(nextConfig.context)){
44
nextConfig.context = sysPath.resolve(this.cwd, nextConfig.context)
0 commit comments