Skip to content

Identify where was the broken reference was declared#103

Merged
kpaulisse merged 10 commits intomasterfrom
kpaulisse-where-was-the-broken-reference-declared
Apr 19, 2017
Merged

Identify where was the broken reference was declared#103
kpaulisse merged 10 commits intomasterfrom
kpaulisse-where-was-the-broken-reference-declared

Conversation

@kpaulisse
Copy link
Copy Markdown
Contributor

This pull request enhances the reference validation feature error message. If a broken reference is found, the error message will now indicate the source file and line.

It appears that Puppet 3.x and 4.x compute the line numbers differently. One displays the first line of the block, and the other displays the last line of the block. However the information is still useful.

@kpaulisse
Copy link
Copy Markdown
Contributor Author

Have been testing this internally at GitHub for several days and it's working as intended.

@kpaulisse kpaulisse merged commit 4babf7f into master Apr 19, 2017
@kpaulisse kpaulisse deleted the kpaulisse-where-was-the-broken-reference-declared branch April 19, 2017 15:52
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.

1 participant