Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
ops/direnv: improve error message for missing shell.nix
Browse files Browse the repository at this point in the history
Co-authored-by: Graham Christensen <[email protected]>
  • Loading branch information
Profpatsch and grahamc committed Jun 20, 2019
1 parent 5dc0a56 commit 40dc0d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ops/direnv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ pub fn main(project: &Project) -> OpResult {
eprintln!("Uh oh, your lorri daemon is not running.");
}

// TODO: this needs to move to a daemon message
if !shell_root.exists() {
return Err(ExitError::errmsg(
"Please run 'lorri watch' before using direnv integration.",
"Please start `lorri daemon` or run `lorri watch` before using direnv integration.",
));
}

Expand Down

0 comments on commit 40dc0d3

Please sign in to comment.