Skip to content

Commit

Permalink
Only call open if it exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyp committed Feb 7, 2024
1 parent d4c651a commit 7638a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"pretest": "browserify -s fernet fernet.js > fernetBrowser.js",
"test": "mocha",
"posttest": "open test.html"
"posttest": "command -v open && open test.html"
},
"keywords": [
"encryption",
Expand All @@ -27,4 +27,4 @@
"sinon": "*",
"sinon-chai": "*"
}
}
}

0 comments on commit 7638a81

Please sign in to comment.