mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-24 15:55:03 +01:00
misc: add --list-options for vscode extension uis (#28)
* draft dump json in help * polish feature
This commit is contained in:
@@ -20,6 +20,10 @@ type Notice struct {
|
||||
}
|
||||
|
||||
func displayNotices(input *Input) {
|
||||
// Avoid causing trouble parsing the json
|
||||
if input.listOptions {
|
||||
return
|
||||
}
|
||||
select {
|
||||
case notices := <-noticesLoaded:
|
||||
if len(notices) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user