atris 1.8.4 → 1.8.5
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.
- package/bin/atris.js +1 -1
- package/package.json +1 -1
package/bin/atris.js
CHANGED
|
@@ -33,7 +33,7 @@ const { detectWorkspaceState, loadContext } = require('../lib/state-detection');
|
|
|
33
33
|
// Run update check in background (non-blocking)
|
|
34
34
|
// Skip for 'version' and 'update' commands to avoid redundant messages
|
|
35
35
|
let updateCheckPromise = null;
|
|
36
|
-
if (process.argv[2] && !['version', 'update', 'help'].includes(process.argv[2])) {
|
|
36
|
+
if (!process.argv[2] || (process.argv[2] && !['version', 'update', 'help'].includes(process.argv[2]))) {
|
|
37
37
|
updateCheckPromise = checkForUpdates()
|
|
38
38
|
.then((updateInfo) => {
|
|
39
39
|
// Show notification if update available (after command completes)
|