Skip to content

Commit 5f0d921

Browse files
committed
Ensure BS_PLAYGROUND cannot be set to empty string
1 parent d5db85d commit 5f0d921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/repl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function e(cmd) {
1919
console.log(`<<<<<<`)
2020
}
2121

22-
if (process.env.BS_PLAYGROUND == null) {
22+
if (!process.env.BS_PLAYGROUND) {
2323
var defaultPlayground = `../../bucklescript-playground`
2424
console.warn(`BS_PLAYGROUND env var unset, defaulting to ${defaultPlayground}`)
2525
process.env.BS_PLAYGROUND = defaultPlayground

0 commit comments

Comments
 (0)