remove nested if (#268)

This commit is contained in:
Pomba Magar 2023-09-20 13:15:57 +05:45 committed by GitHub
parent 4226d1eb85
commit 8976805721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,6 @@ func reduce(fns []string) {
deno := false
bin, err := exec.LookPath("node")
if err != nil {
if err != nil {
bin, err = exec.LookPath("deno")
if err != nil {
@ -32,7 +31,6 @@ func reduce(fns []string) {
}
deno = true
}
}
env := os.Environ()
var args []string