We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9e0c2 commit a814942Copy full SHA for a814942
2 files changed
ae-cli/internal/hooks/handler.go
@@ -549,12 +549,3 @@ func bindingSourceFromMarker(sessionID string) string {
549
}
550
return "unbound"
551
552
-
553
-func firstNonEmpty(values ...string) string {
554
- for _, value := range values {
555
- if strings.TrimSpace(value) != "" {
556
- return strings.TrimSpace(value)
557
- }
558
559
- return ""
560
-}
ae-cli/internal/hooks/queue.go
@@ -231,11 +231,11 @@ func PendingSessionIDs() ([]string, error) {
231
if sessionID == "" {
232
continue
233
234
- queuePath, err := queuePath(sessionID)
+ path, err := queuePath(sessionID)
235
if err != nil {
236
return nil, err
237
238
- info, err := os.Stat(queuePath)
+ info, err := os.Stat(path)
239
240
if os.IsNotExist(err) {
241
0 commit comments