Skip to content

Commit f666e7d

Browse files
committed
op has changed check
1 parent 19a8b79 commit f666e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/api/utils/shared_ops_util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,6 +1937,7 @@ export default class SharedOpsUtil extends SharedUtil
19371937
}
19381938

19391939
const defaults = this.getOpDefaults(opName, author);
1940+
let hasChanged = false;
19401941
let jsonData = {};
19411942
try
19421943
{
@@ -1960,7 +1961,6 @@ export default class SharedOpsUtil extends SharedUtil
19601961
this._log.warn("op default error read", opName, jsonData);
19611962
return;
19621963
}
1963-
let hasChanged = false;
19641964
if (!jsonData.hasOwnProperty("authorName") && defaults.authorName)
19651965
{
19661966
jsonData.authorName = defaults.authorName;

0 commit comments

Comments
 (0)