get_plz_bin_path
1 parent 0b61151 commit a0db7f5Copy full SHA for a0db7f5
1 file changed
tools/please_pex/preamble/path.c
@@ -217,6 +217,7 @@ err_t *get_plz_bin_path(char **path) {
217
if (STREQ(pex_dir, "/") || STREQ(pex_dir, ".")) {
218
// If we reached the left-most component in the path, the .pex file doesn't exist within a
219
// plz-out/ directory tree.
220
+ err = err_from_str(".pex file is in neither a Please build environment nor a Please repo");
221
goto end;
222
}
223
MALLOC(*path, char, strlen(pex_dir) + strlen("/bin") + 1);
0 commit comments