Skip to content

Commit

Permalink
fix: small code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ysb33r committed Dec 18, 2024
1 parent 9e73da1 commit 797c9a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class AsciidoctorTaskFunctionalSpec extends FunctionalSpecification {
String sample2 = new File(buildDir, 'docs/asciidoc/subdir/sample2.html').text

then:
sample2.contains('gradle-relative-srcdir = [..]')
sample2.contains('gradle-relative-srcdir = [subdir]')
}

@Issue('https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/2324')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class AsciidoctorJSetup implements Serializable {
* @param runConfiguration The current executor configuration
* @return Asciidoctor options
*/
@SuppressWarnings('DuplicateStringLiteral ')
@SuppressWarnings('UnnecessaryObjectReferences')
Options normalisedOptionsFor(final File file, ExecutorConfiguration runConfiguration) {
OptionsBuilder optionsBuilder = Options.builder()

Expand Down

0 comments on commit 797c9a2

Please sign in to comment.