Skip to content

Commit

Permalink
fix(lib): nolint:unused for extractStaticOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 committed Jul 27, 2023
1 parent 0ccd17d commit c105a9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/zeaburpack/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ func Build(opt *BuildOptions) error {
return nil
}

// unused because we are refactoring this part. Ignore this for now.
// nolint:unused
func extractStaticOutput(resultImage string, opt *BuildOptions) error {
copyFiles := `FROM ` + resultImage + `
CMD ["cp", "-r", "/usr/share/nginx/html/static", "/out/"]`
Expand Down

0 comments on commit c105a9e

Please sign in to comment.