(script)
| 157 | } |
| 158 | |
| 159 | function canNotify(script) { |
| 160 | const allowed = getOption('notifyUpdates'); |
| 161 | return getOption('notifyUpdatesGlobal') |
| 162 | ? allowed |
| 163 | : script.config.notifyUpdates ?? allowed; |
| 164 | } |
| 165 | |
| 166 | function autoUpdate() { |
| 167 | const interval = getUpdateInterval(); |
no test coverage detected