Skip to content

Commit 0a9a949

Browse files
Fix styling2.
1 parent 78a8dc7 commit 0a9a949

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

+dj/+internal/Settings.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)