File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -151,12 +151,14 @@ function envVarUpdate()
151151 STATE = rmfield(dj .internal .Settings .DEFAULTS , intersect(fieldnames( ...
152152 dj .internal .Settings .DEFAULTS ), fieldnames(new )));
153153 names = [fieldnames(STATE ); fieldnames(new )];
154- STATE = orderfields(cell2struct([struct2cell(STATE ); struct2cell(new )], names , 1 ));
154+ STATE = orderfields(...
155+ cell2struct([struct2cell(STATE ); struct2cell(new )], names , 1 ));
155156 else
156157 % merge with existing STATE
157158 STATE = rmfield(STATE , intersect(fieldnames(STATE ), fieldnames(new )));
158159 names = [fieldnames(STATE ); fieldnames(new )];
159- STATE = orderfields(cell2struct([struct2cell(STATE ); struct2cell(new )], names , 1 ));
160+ STATE = orderfields(...
161+ cell2struct([struct2cell(STATE ); struct2cell(new )], names , 1 ));
160162 end
161163 if strcmpi(operation , ' load' )
162164 envVarUpdate();
You can’t perform that action at this time.
0 commit comments