Skip to content

Commit

Permalink
fix: in case of error, output var in sh() wasn't set
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Jun 25, 2024
1 parent 41ee8a6 commit 953aef4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ end concat

on sh(paths, command)
local output
set output to ""
set path_env to "PATH=" & paths
try
set output to do shell script (path_env & " " & command)
Expand Down

0 comments on commit 953aef4

Please sign in to comment.