Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
#102 fixed css output file
Browse files Browse the repository at this point in the history
  • Loading branch information
sippsack committed Oct 13, 2019
1 parent eab2930 commit 83ea377
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class GenerateDukecon {

ResourceFileProvider<String> stylesCssResource = new StylesCssResource(conferenceConfig.id, conferenceConfig.styles, '/templates/styles.ftl')
File stylesCssFile = new File("${conferenceStartDirectoryName}/${stylesCssResource.fileName}")
objectMapper.writeValue(stylesCssFile, stylesCssResource.getContent())
stylesCssFile.getParentFile().mkdirs()
stylesCssFile.write(stylesCssResource.getContent())
log.info("Created {}", stylesCssFile.absolutePath)
}
}
Expand Down

0 comments on commit 83ea377

Please sign in to comment.