Skip to content

Conversation

@samthebest
Copy link

Improved error message. Improved style according to FP: (a) if-else made into expression for clarity (b) formatting

Improved error message. Improved style according to FP: (a) if-else made into expression for clarity (b) formatting
lazy val initialVcsChecks = (st: State) =>
if ((vcs(st).status !!).trim.nonEmpty)
sys.error("Aborting release. Working directory has uncommitted changes, " +
"please commit your changes before running this command.")
Copy link

Choose a reason for hiding this comment

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

user can also stash or revert. committing is just one way to solve it
also i remember there were talks about allowing release to continue even wit dirty wd when some setting is set to true

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