diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-05-24 14:32:02 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-05-24 14:32:02 +0000 |
commit | 215db0c35070ca65856c49274fdcce026a45076e (patch) | |
tree | bf124c385b0bfaaa6bcd0abf0f0077dd85892ba0 /main.go | |
parent | fixes #24, fixes #25, fixes #29 (diff) | |
download | milla-1.0.0.tar.gz milla-1.0.0.zip |
fixes #30v1.0.0
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -400,8 +400,11 @@ func handleCustomCommand( return } + if customCommand.Limit != 0 { + logs = logs[:customCommand.Limit] + } + log.Println(logs) - logs = logs[:customCommand.Limit] if err != nil { log.Println(err.Error()) |