Skip to content

Commit f9e9529

Browse files
committed
x
1 parent ab8afdb commit f9e9529

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/files/compile_go.iced

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ exports.compile_sample = (T,cb) ->
77
main = new Main
88
await main.main { argv }, T.esc(defer(), cb)
99

10-
# Run gofumpt on the generated file
11-
await execFile 'gofumpt', ['-w', "#{__dirname}/sample.go"], T.esc(defer(err), cb)
12-
if err
13-
console.error "Warning: gofumpt failed:", err.message
10+
# Run gofumpt on the generated file if available (optional for local dev)
11+
# In CI, golangci-lint will handle formatting. Silently ignore if not installed.
12+
await execFile 'gofumpt', ['-w', "#{__dirname}/sample.go"], defer(err)
13+
# Ignore error - gofumpt is optional
1414

1515
cb()

0 commit comments

Comments
 (0)