-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
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.txtto 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
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)
Metadata
Metadata
Assignees
Labels
No labels
