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

Merge pull request #375 from ethauvin/master

Added support for --log 0 on --update
This commit is contained in:
Cedric Beust 2017-03-31 15:07:11 -07:00 committed by GitHub
commit 6409e723cb

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)
} }
/** /**