mirror of https://github.com/statping/statping
test fix
parent
e111e91181
commit
8c0c4f4e5c
|
@ -16,7 +16,6 @@
|
|||
package notifiers
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/hunterlong/statup/core/notifier"
|
||||
"github.com/hunterlong/statup/types"
|
||||
"github.com/hunterlong/statup/utils"
|
||||
|
@ -90,10 +89,6 @@ func runCommand(app, cmd string) (string, string, error) {
|
|||
return "", "", err
|
||||
}
|
||||
|
||||
if errStdout != nil || errStderr != nil {
|
||||
return "", "", errors.New("failed to capture stdout or stderr")
|
||||
}
|
||||
|
||||
outStr, errStr := string(stdout), string(stderr)
|
||||
return outStr, errStr, err
|
||||
}
|
||||
|
|
|
@ -468,4 +468,4 @@ HTML,BODY {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
@import './mobile';
|
||||
@import 'mobile';
|
||||
|
|
Loading…
Reference in New Issue