cloudron 5.16.0 → 5.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cloudron +2 -16
  2. package/package.json +1 -1
package/bin/cloudron CHANGED
@@ -290,19 +290,5 @@ program.command('update')
290
290
  .option('--no-force', 'Match appstore id and manifest id before updating', true)
291
291
  .action(actions.update);
292
292
 
293
- (async function main() {
294
- // completion is useful in shell configs, so don't block here
295
- if (process.argv[2] !== 'completion') {
296
- if (Date.now() - (config.get('lastCliUpdateCheck') || 0) > 24*60*60*1000) {
297
- // check if cli tool is up-to-date
298
- const [error, response] = await safe(superagent.get('https://registry.npmjs.org/cloudron').retry(0).ok(() => true));
299
- if (!error && response.status === 200 && response.body['dist-tags'].latest !== version) {
300
- const updateCommand = 'npm install -g cloudron@' + response.body['dist-tags'].latest;
301
- process.stderr.write(util.format('A new version of Cloudron CLI is available. Please update with: %s\n', updateCommand));
302
- }
303
- config.set('lastCliUpdateCheck', Date.now());
304
- }
305
- }
306
-
307
- program.parse(process.argv);
308
- })();
293
+ program.parse(process.argv);
294
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudron",
3
- "version": "5.16.0",
3
+ "version": "5.16.1",
4
4
  "license": "MIT",
5
5
  "description": "Cloudron Commandline Tool",
6
6
  "main": "main.js",