Skip to content

Commit a2e5330

Browse files
freaker2k7jagdeep sidhu
authored andcommitted
build: fix formatted logs (ethereum#24807)
Changed `log.Fatal` to `log.Fatalf()` as it has a parameter...
1 parent c499303 commit a2e5330

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
@@ -956,10 +956,10 @@ func doWindowsInstaller(cmdline []string) {
956956
build.Render("build/nsis.pathupdate.nsh", filepath.Join(*workdir, "PathUpdate.nsh"), 0644, nil)
957957
build.Render("build/nsis.envvarupdate.nsh", filepath.Join(*workdir, "EnvVarUpdate.nsh"), 0644, nil)
958958
if err := cp.CopyFile(filepath.Join(*workdir, "SimpleFC.dll"), "build/nsis.simplefc.dll"); err != nil {
959-
log.Fatal("Failed to copy SimpleFC.dll: %v", err)
959+
log.Fatalf("Failed to copy SimpleFC.dll: %v", err)
960960
}
961961
if err := cp.CopyFile(filepath.Join(*workdir, "COPYING"), "COPYING"); err != nil {
962-
log.Fatal("Failed to copy copyright note: %v", err)
962+
log.Fatalf("Failed to copy copyright note: %v", err)
963963
}
964964
// Build the installer. This assumes that all the needed files have been previously
965965
// built (don't mix building and packaging to keep cross compilation complexity to a

0 commit comments

Comments
 (0)