Skip to content

Commit bf867d1

Browse files
freaker2k7cp-wjhan
authored andcommitted
build: fix formatted logs (ethereum#24807)
Changed `log.Fatal` to `log.Fatalf()` as it has a parameter...
1 parent 875033f commit bf867d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/ci.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,10 @@ func doWindowsInstaller(cmdline []string) {
966966
build.Render("build/nsis.pathupdate.nsh", filepath.Join(*workdir, "PathUpdate.nsh"), 0644, nil)
967967
build.Render("build/nsis.envvarupdate.nsh", filepath.Join(*workdir, "EnvVarUpdate.nsh"), 0644, nil)
968968
if err := cp.CopyFile(filepath.Join(*workdir, "SimpleFC.dll"), "build/nsis.simplefc.dll"); err != nil {
969-
log.Fatal("Failed to copy SimpleFC.dll: %v", err)
969+
log.Fatalf("Failed to copy SimpleFC.dll: %v", err)
970970
}
971971
if err := cp.CopyFile(filepath.Join(*workdir, "COPYING"), "COPYING"); err != nil {
972-
log.Fatal("Failed to copy copyright note: %v", err)
972+
log.Fatalf("Failed to copy copyright note: %v", err)
973973
}
974974
// Build the installer. This assumes that all the needed files have been previously
975975
// built (don't mix building and packaging to keep cross compilation complexity to a

0 commit comments

Comments
 (0)