We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb235c commit dbf3bbeCopy full SHA for dbf3bbe
cli/app.go
@@ -19,7 +19,7 @@ const (
19
aliasRobotFlag = "robot"
20
partFlag = "part"
21
22
- // quiet any warnings.
+ // TODO: RSDK-6683
23
quietFlag = "quiet"
24
25
logsFlagErrors = "errors"
cli/client.go
@@ -427,6 +427,12 @@ func CheckUpdateAction(c *cli.Context) error {
427
}
428
429
dateCompiledRaw := rconfig.DateCompiled
430
+
431
+ // `go build` will not set the compilation flags needed for this check
432
+ if dateCompiledRaw == "" {
433
+ return nil
434
+ }
435
436
dateCompiled, err := time.Parse("2006-01-02", dateCompiledRaw)
437
if err != nil {
438
warningf(c.App.ErrWriter, "CLI Update Check: failed to parse compilation date: %w", err)
0 commit comments