Skip to content

Fix "rokit update" always reporting tools as up-to-date#111

Merged
filiptibell merged 1 commit into
rojo-rbx:mainfrom
EgoMoose:fix-update-command
May 9, 2026
Merged

Fix "rokit update" always reporting tools as up-to-date#111
filiptibell merged 1 commit into
rojo-rbx:mainfrom
EgoMoose:fix-update-command

Conversation

@EgoMoose
Copy link
Copy Markdown
Contributor

@EgoMoose EgoMoose commented May 8, 2026

When running rokit update the output would always tell you that "All tools are already up-to-date!" even if they were not and the command actually updated your rokit.toml. This was by no means a critical bug b/c it ultimately still did it's intended function it just output the wrong message to the user.

As far as I can tell it was caused by recomputing tools_changed in step 6 with the mutated (updated) manifest causing spec_old to always equal spec_new. Fix seems simple enough, just don't recompute and use the original tools_changed value that was computer before the manifest was mutated.

Copy link
Copy Markdown
Collaborator

@filiptibell filiptibell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Yeah, this must have been a copy-paste mistake or something. Nice to see it fixed.

@filiptibell filiptibell merged commit 2f26184 into rojo-rbx:main May 9, 2026
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants