Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
ci: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Oct 11, 2024
1 parent 37812b4 commit d3efe39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/runtime/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ func (r *Runtime) getFile(input *runtime.BuildInput) (string, bool) {
}

func (r *Runtime) ShouldRebuild(functionID string, file string) bool {
result, ok := r.results[functionID]
result, ok := r.results.Load(functionID)
if !ok {
return false
}

var meta = map[string]interface{}{}
err := json.Unmarshal([]byte(result.Metafile), &meta)
err := json.Unmarshal([]byte(result.(esbuild.BuildResult).Metafile), &meta)
if err != nil {
return false
}
Expand Down

0 comments on commit d3efe39

Please sign in to comment.