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

Commit

Permalink
tmp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Feb 16, 2024
1 parent 8954f6f commit 89c9c31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/sst/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ func (u *UI) Event(evt *server.Event) {

if evt.FunctionBuildEvent != nil {
if len(evt.FunctionBuildEvent.Errors) > 0 {
u.printEvent(color.FgRed, evt.FunctionBuildEvent.FunctionID, strings.Join(evt.FunctionBuildEvent.Errors, "\n"))
u.printEvent(color.FgRed, "Build Error", strings.Join(evt.FunctionBuildEvent.Errors, "\n"))
return
}
u.printEvent(color.FgGreen, evt.FunctionBuildEvent.FunctionID, "Built")
u.printEvent(color.FgGreen, "Build", evt.FunctionBuildEvent.FunctionID)
}

}
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func startDeployer(ctx context.Context, p *project.Project) (util.CleanupFunc, error) {
trigger := make(chan any)
trigger := make(chan any, 10000)
mutex := sync.RWMutex{}
watchedFiles := make(map[string]bool)

Expand Down

0 comments on commit 89c9c31

Please sign in to comment.