1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

warn() to log().

This commit is contained in:
Cedric Beust 2017-03-18 23:10:41 -07:00
parent d777ca20cb
commit 6a50e01ebc

View file

@ -1,7 +1,6 @@
package com.beust.kobalt.api
import com.beust.kobalt.TaskResult
import com.beust.kobalt.misc.warn
interface ICompilerDescription : Comparable<ICompilerDescription> {
/**
@ -58,7 +57,7 @@ class CompilerDescription(override val name: String, override val sourceDirecto
if (info.sourceFiles.isNotEmpty()) {
compiler.compile(project, context, info)
} else {
log(2, "$name couldn't find any source files to compile")
context.logger.log(project.name, 2, "$name couldn't find any source files to compile")
TaskResult()
}
return result