mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Merge pull request #325 from resin-io/misc/update
Force update alert to be always shown
This commit is contained in:
commit
7df78a0c9e
@ -26,7 +26,8 @@ limitations under the License.
|
||||
|
||||
if (!isRoot()) {
|
||||
notifier = updateNotifier({
|
||||
pkg: packageJSON
|
||||
pkg: packageJSON,
|
||||
updateCheckInterval: 0
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,13 @@ packageJSON = require('../../package.json')
|
||||
# running time ask for updated, however this can lead
|
||||
# to ugly EPERM issues if those files are created as root.
|
||||
if not isRoot()
|
||||
notifier = updateNotifier(pkg: packageJSON)
|
||||
notifier = updateNotifier
|
||||
pkg: packageJSON
|
||||
|
||||
# Force update notification alert
|
||||
# to be shown every time there is
|
||||
# an update.
|
||||
updateCheckInterval: 0
|
||||
|
||||
exports.hasAvailableUpdate = ->
|
||||
return notifier?
|
||||
|
Loading…
x
Reference in New Issue
Block a user