Skip to content

Commit

Permalink
Fix string check for surge teardown cmd (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adito5393 authored Jul 12, 2022
1 parent 9175355 commit 163bd82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (p *Plugin) runSurgeCommand(teardown bool) error {
}
waitGroup.Wait()

if !strings.Contains(output.String(), "Success!") {
if !strings.Contains(output.String(), "Success") {
return errors.New("Failed to run surge")
}

Expand Down

0 comments on commit 163bd82

Please sign in to comment.