| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6dd1c75 commit 0b67673
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -398,6 +398,7 @@ | |||
| 398 | 398 | 'test/cctest/test_environment.cc', | |
| 399 | 399 | 'test/cctest/test_linked_binding.cc', | |
| 400 | 400 | 'test/cctest/test_node_api.cc', | |
| 401 | + 'test/cctest/test_path.cc', | ||
| 401 | 402 | 'test/cctest/test_per_process.cc', | |
| 402 | 403 | 'test/cctest/test_platform.cc', | |
| 403 | 404 | 'test/cctest/test_report.cc', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -101,7 +101,7 @@ std::string PathResolve(Environment* env, | |||
| 101 | 101 | const size_t numArgs = paths.size(); | |
| 102 | 102 | auto cwd = env->GetCwd(env->exec_path()); | |
| 103 | 103 | ||
| 104 | - for (int i = numArgs - 1; i >= -1 && !resolvedAbsolute; i--) { | ||
| 104 | + for (int i = numArgs - 1; i >= -1; i--) { | ||
| 105 | 105 | std::string path; | |
| 106 | 106 | if (i >= 0) { | |
| 107 | 107 | path = std::string(paths[i]); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments