Skip to content

Commit 708844e

Browse files
sourcegraph-botSourcegraph Bot
andauthored
Update fmt.Errorf (#201)
Co-authored-by: Sourcegraph Bot <[email protected]>
1 parent 3f61310 commit 708844e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/src/extensions_publish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func runManifestPrepublishScript(manifest []byte, dir string) error {
178178
cmd.Stderr = os.Stderr
179179
fmt.Fprintf(os.Stderr, "# sourcegraph:prepublish: %s\n", o.Scripts.SourcegraphPrepublish)
180180
if err := cmd.Run(); err != nil {
181-
return fmt.Errorf("sourcegraph:prepublish script failed: %s (see output above)", err)
181+
return fmt.Errorf("sourcegraph:prepublish script failed: %w (see output above)", err)
182182
}
183183
fmt.Fprintln(os.Stderr)
184184
return nil

0 commit comments

Comments
 (0)