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

Added support for --log 0 on --update

This commit is contained in:
Erik C. Thauvin 2017-03-31 14:28:47 -07:00
parent 81cbdad9a0
commit 1be27833c6

View file

@ -21,7 +21,8 @@ class UpdateKobalt @Inject constructor(val github: GithubApi2, val wrapperProper
val newVersion = github.latestKobaltVersion val newVersion = github.latestKobaltVersion
wrapperProperties.create(newVersion.get()) wrapperProperties.create(newVersion.get())
VersionCheckTimestampFile.updateTimestamp(Instant.now()) VersionCheckTimestampFile.updateTimestamp(Instant.now())
Main.main(arrayOf()) val args = if (KobaltLogger.isQuiet) { arrayOf("--log", "0") } else { arrayOf() }
Main.main(args)
} }
/** /**