Skip to content

Commit 54110e5

Browse files
author
Martii
committed
Change WARNING message
* Clarified what this section of code is doing and not doing Post #713 fix
1 parent e5993bf commit 54110e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

controllers/scriptStorage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,9 @@ exports.sendScript = function (aReq, aRes, aNext) {
162162
++aScript.installs;
163163
++aScript.installsSinceUpdate;
164164

165+
// Resave affected properties
165166
aScript.save(function (aErr, aScript) {
166-
// WARNING: Resaving the script... WHY?
167+
// WARNING: No error handling at this stage
167168
});
168169
});
169170
};

0 commit comments

Comments
 (0)