-
Notifications
You must be signed in to change notification settings - Fork 3
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
changelogPush: wrong error message on missing origin #16
Comments
For me, it even fails when a ref is defined! The stacktrace for the NullPointerException is:
|
@geoHeil It looks like you have |
Indeed, I wanted to try this functionality locally - not in CI first. Therefore, multiple branches are present. How can I still use it for a local test in this setup? Do you want me to rename
Furthermore:
|
NPE in error message fixed in |
When executing
changelogPush
on missing origin I gotNullPointerException
instead ofExpected ref refs/remotes/origin/main
spotless-changelog/spotless-changelog-lib/src/main/java/com/diffplug/spotless/changelog/GitActions.java
Lines 65 to 66 in 52fd295
I guess line 66 above should be
Objects.requireNonNull(remoteRef
,...The text was updated successfully, but these errors were encountered: