Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2309] CLI mixin help #895

Merged
merged 6 commits into from
Feb 19, 2019
Merged

[PAN-2309] CLI mixin help #895

merged 6 commits into from
Feb 19, 2019

Conversation

macfarla
Copy link
Contributor

PR description

Don't create a new CommandLine object in the case of exception (this is why mixins were not showing in the help).

Fixed Issue(s)

fixes #PAN-2309

@macfarla macfarla changed the title [PAN-2309] CLI help [PAN-2309] CLI mixin help Feb 19, 2019
result.errors().stream().map(TomlParseError::toString).collect(Collectors.joining("%n"));
throw new Exception("Invalid TOML configuration : " + errors);
result.errors().stream().map(TomlParseError::toString).collect(Collectors.joining("\n"));
throw new Exception("Invalid TOML configuration : \n" + errors);
Copy link
Contributor

Choose a reason for hiding this comment

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

spurious space between configuration and :

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@macfarla macfarla merged commit 17df09f into PegaSysEng:master Feb 19, 2019
@macfarla macfarla deleted the pan-2309-cli-help branch February 19, 2019 04:24
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Feb 20, 2019
* don't create a new CommandLine object in the case of exception - this caused the help to be missing the mixins added
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants