Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit ee4766c

Browse files
committed
Fix error during merge
Signed-off-by: Dave Cheney <[email protected]>
1 parent 25793ca commit ee4766c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (f Frame) format(w io.Writer, s fmt.State, verb rune) {
4949
if file == "" {
5050
file = "unknown"
5151
}
52-
io.WriteString(s, path.Base(file))
52+
io.WriteString(w, path.Base(file))
5353
}
5454
case 'd':
5555
io.WriteString(w, strconv.Itoa(runtime.Frame(f).Line))

0 commit comments

Comments
 (0)