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:
parent
81cbdad9a0
commit
1be27833c6
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue