-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat: prompt to update plugins with breaking changes + options to skip prompts with !
#459
Conversation
|
8fbdbb6
to
14a7efb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't find anything to complain about. Code looks good to me, I like this change a lot :)
return setmetatable({ | ||
name = rock.name, | ||
version = version, | ||
target_version = target_version, | ||
}, { | ||
__tostring = function() | ||
return ("%s %s -> %s"):format(rock.name, tostring(version), tostring(target_version)) | ||
end, | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: love this use of metatables, wouldn't have thought of that
Closes #191
Stacked on #439 (already reviewed by @teto) to avoid merge conflicts.