casey / casey/just

Improve error message if `working-directory` does not exist

Open
#2,295 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

For justfiles that override `working-directory` value, if the dir does not exist, just gives a rather criptic message:

```just
set working-directory := 'missing'

[no-cd]
bar:
pwd # this one will work fine

foo:
pwd # this one will not even start if 'missing' dir is missing
```

```
error: Recipe ... could not be run because just could not find
the shell: No such file or directory (os error 2)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.