Skip to content

Commit

Permalink
fix(lint): variable simplified
Browse files Browse the repository at this point in the history
Signed-off-by: hackerchai <[email protected]>
  • Loading branch information
hackerchai committed Oct 26, 2023
1 parent d1185cb commit 53ea50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/static/TransformServerless.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// TransformServerless copies the static files from output to .zeabur/output/static and creates a config.json file for SPA
func TransformServerless(image, workdir string, meta types.PlanMeta, isHTMLStatic bool) error {
if isHTMLStatic == true {
if isHTMLStatic {
err := utils.CopyFromSource(path.Join(workdir, meta["outputDir"])+"/.", path.Join(workdir, ".zeabur/output/static"))
if err != nil {
return err
Expand Down

0 comments on commit 53ea50b

Please sign in to comment.