Skip to content

Commit fe453f2

Browse files
committed
Updated handling of server requests
1 parent 56c74bf commit fe453f2

File tree

9 files changed

+1049
-866
lines changed

9 files changed

+1049
-866
lines changed

Workflows/EmailIt.alfredworkflow

-17 Bytes
Binary file not shown.

app.go

+2-6
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,12 @@ func (b *App) DeleteEntries(path string) {
252252
}
253253

254254
func (b *App) RunCommandLine(cmd string, args []string, env []string, dir string) string {
255-
b.err = ""
255+
cmd = b.AppendPath(dir, cmd)
256256
cmdline := exec.Command(cmd)
257257
cmdline.Args = args
258258
cmdline.Env = env
259259
cmdline.Dir = dir
260-
result, err := cmdline.CombinedOutput()
261-
if err != nil {
262-
b.err = err.Error()
263-
}
264-
260+
result, _ := cmdline.CombinedOutput()
265261
return string(result[:])
266262
}
267263

buildcli.go

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package main
2+
3+
import (
4+
// "github.com/charmbracelet/bubbles/textinput"
5+
// "github.com/charmbracelet/bubbletea"
6+
// "github.com/charmbracelet/lipgloss"
7+
)
8+
9+
func BuildEmail() error {
10+
return nil
11+
}

0 commit comments

Comments
 (0)