diff options
author | Teddy Wing | 2020-12-20 17:28:33 +0100 |
---|---|---|
committer | Teddy Wing | 2020-12-20 17:28:33 +0100 |
commit | 8a510b84b906db1e7a2d8c8e736093313dd3dd59 (patch) | |
tree | 033cff589f65a7f1793aaa6e4e51292955aed9f2 | |
parent | 85df0594be312307ea33086583f590283f828c09 (diff) | |
download | browserenv-8a510b84b906db1e7a2d8c8e736093313dd3dd59.tar.bz2 |
Remove handled TODOs
-rw-r--r-- | browserenv.go | 1 | ||||
-rw-r--r-- | browserenv_unix.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/browserenv.go b/browserenv.go index 4edb032..f799770 100644 --- a/browserenv.go +++ b/browserenv.go @@ -121,7 +121,6 @@ func browserCommandIncludesURL(command string) bool { } func fmtWithURL(command, url string) string { - // TODO: shellescape URL return strings.ReplaceAll(command, "%s", url) } diff --git a/browserenv_unix.go b/browserenv_unix.go index 0e62fe5..6d569e4 100644 --- a/browserenv_unix.go +++ b/browserenv_unix.go @@ -20,6 +20,5 @@ func shell() (args []string) { // TODO func shellEscapeCommand(browser, url string) string { - // TODO: handle %s in browser command return fmt.Sprintf("%s '%s'", browser, url) } |