Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated message when spells are older than 30 days #88

Open
askamycki opened this issue Oct 10, 2023 · 0 comments
Open

Outdated message when spells are older than 30 days #88

askamycki opened this issue Oct 10, 2023 · 0 comments

Comments

@askamycki
Copy link

Describe the bug
Outdated warning message when the spells are old.

To Reproduce
Steps to reproduce the behavior:

  1. 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
  2. Run any spell. Eg:
    dw spell --eval Playground
  3. 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
image

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)
askamycki added a commit to askamycki/data-weave-cli that referenced this issue Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant