Skip to content
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

Asciidoctor: Log absolute path when copying images #565

Merged
merged 1 commit into from
Feb 4, 2019

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Jan 30, 2019

Switch the copy_images Asciidoctor plugin to log the absolute path
when copying images and clean up some rough spots in the tests around
copy_images that I bumped into when making this change.

Switch the `copy_images` Asciidoctor plugin to log the absolute path
when copying images and clean up some rough spots in the tests around
`copy_images` that I bumped into when making this change.
@@ -33,7 +33,7 @@ def convert input, extra_attributes = {}, warnings_matcher = eq('')
}
warnings_string = logger.messages
.map { |l| "#{l[:severity]}: #{l[:message].inspect}" }
.join('\n')
.join("\n")
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a little oopsie I caught!

Copy link

@ddillinger ddillinger left a comment

Choose a reason for hiding this comment

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

lgtm!

@nik9000 nik9000 merged commit bfe80f6 into elastic:master Feb 4, 2019
@nik9000
Copy link
Member Author

nik9000 commented Feb 4, 2019

Thanks for reviewing @ddillinger !!

nik9000 added a commit that referenced this pull request Feb 15, 2019
Switch the `copy_images` Asciidoctor plugin to log the absolute path
when copying images and clean up some rough spots in the tests around
`copy_images` that I bumped into when making this change.
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