Skip to content

Commit 8067591

Browse files
author
Federico Fissore
committed
Timestamp needs to be converted to string, otherwise go clutters the output
Signed-off-by: Federico Fissore <[email protected]>
1 parent 5da1da3 commit 8067591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/arduino.cc/builder/builder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func printProgressIfProgressEnabledAndMachineLogger(progressEnabled bool, contex
208208

209209
func PrintRingNameIfDebug(context map[string]interface{}, command types.Command) {
210210
if utils.DebugLevel(context) >= 10 {
211-
utils.Logger(context).Fprintln(os.Stderr, constants.MSG_RUNNING_COMMAND, time.Now().Unix(), reflect.Indirect(reflect.ValueOf(command)).Type().Name())
211+
utils.Logger(context).Fprintln(os.Stderr, constants.MSG_RUNNING_COMMAND, strconv.FormatInt(time.Now().Unix(), 10), reflect.Indirect(reflect.ValueOf(command)).Type().Name())
212212
}
213213
}
214214

0 commit comments

Comments
 (0)