You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Outdated warning message when the spells are old.
To Reproduce
Steps to reproduce the behavior:
Modify the access/modified timestamp of the file $DW_HOME/grimoires/lastUpdate.txt to be older than 30 days. Eg: touch -d '2023-09-01T00:00:00' ~/.dw/grimoires/lastUpdate.txt
Run any spell. Eg: dw spell --eval Playground
A warning legend will appear indicating to update the spells by running dw update-spells, which it's oudated
Expected behavior
The legend shown when not updating the spells for more than 30 days should show the correct command to update the grimoires: dw spell update
Screenshots
Desktop (please complete the following information):
OS: macOS Ventura
Version 13.6 (22G120)
DW-CLI version: (Command Line : V1.0.34 / Runtime : V2.6.0-SNAPSHOT)
The text was updated successfully, but these errors were encountered:
askamycki
added a commit
to askamycki/data-weave-cli
that referenced
this issue
Oct 10, 2023
Describe the bug
Outdated warning message when the spells are old.
To Reproduce
Steps to reproduce the behavior:
$DW_HOME/grimoires/lastUpdate.txt
to be older than 30 days. Eg:touch -d '2023-09-01T00:00:00' ~/.dw/grimoires/lastUpdate.txt
dw spell --eval Playground
dw update-spells
, which it's oudatedExpected behavior
The legend shown when not updating the spells for more than 30 days should show the correct command to update the grimoires:
dw spell update
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: