@scheduler-systems/gal-run 0.0.562 → 0.0.565
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/dist/index.cjs +1314 -875
- package/dist/postinstall.cjs +2 -1
- package/package.json +1 -1
package/dist/postinstall.cjs
CHANGED
|
@@ -420,7 +420,8 @@ if (state && state.lastSyncHash !== state.approvedConfigHash) {
|
|
|
420
420
|
|
|
421
421
|
if (state && state.lastSyncHash !== state.approvedConfigHash) {
|
|
422
422
|
const days = Math.floor((Date.now() - new Date(state.lastSyncTimestamp).getTime()) / (24 * 60 * 60 * 1000));
|
|
423
|
-
|
|
423
|
+
const daysText = days === 0 ? 'less than a day' : days === 1 ? '1 day' : \`\${days} days\`;
|
|
424
|
+
showMessage(\`⚠️ GAL: Config is \${daysText} behind \${state.organization}'s approved version.\\nRun: gal sync --pull\`, 'config_outdated');
|
|
424
425
|
}
|
|
425
426
|
}
|
|
426
427
|
|
package/package.json
CHANGED