summaryrefslogtreecommitdiff
path: root/src/support/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/path.cpp')
-rw-r--r--src/support/path.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/support/path.cpp b/src/support/path.cpp
index 7ae68d719..e9817aca9 100644
--- a/src/support/path.cpp
+++ b/src/support/path.cpp
@@ -36,8 +36,9 @@ std::string getPathSeparator() {
std::string getBinaryenRoot() {
auto* envVar = getenv("BINARYEN_ROOT");
- if (envVar)
+ if (envVar) {
return envVar;
+ }
return ".";
}