Skip to content

Commit bfba66c

Browse files
author
mritd
committed
fix(ci editor): fix ci editor exit
fix ci editor exit Signed-off-by: mritd <[email protected]>
1 parent 09e25ec commit bfba66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func OSEditInput() string {
124124
CheckAndExit(err)
125125
defer func() {
126126
f.Close()
127-
os.Remove(f.Name())
127+
CheckErr(os.Remove(f.Name()))
128128
}()
129129

130130
// write utf8 bom

0 commit comments

Comments
 (0)