Skip to content

Commit

Permalink
Merge pull request pinterest#132 from MyDogTom/mydogtom/adapt-1-2-20
Browse files Browse the repository at this point in the history
Use JVM_CONFIG_FILES instead of EMPTY
  • Loading branch information
shyiko authored Dec 27, 2017
2 parents 264ea7f + 4f4e945 commit fbfcbe8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ object KtLint {
}
DiagnosticLogger.setFactory(LoggerFactory::class.java)
val project = KotlinCoreEnvironment.createForProduction(Disposable {},
CompilerConfiguration(), EnvironmentConfigFiles.EMPTY).project
CompilerConfiguration(), EnvironmentConfigFiles.JVM_CONFIG_FILES).project
// everything below (up to PsiFileFactory.getInstance(...)) is to get AST mutations (`ktlint -F ...`) working
// otherwise it's not needed
val pomModel: PomModel = object : UserDataHolderBase(), PomModel {
Expand Down

0 comments on commit fbfcbe8

Please # to comment.