Skip to content

Commit

Permalink
Point to the appropriate path.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdappollonio committed Jul 2, 2024
1 parent 26fedcd commit edb05d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ fn main() {
fn run() -> Result<(), ApplicationError> {
// Get the base directory
let base_dir = env::var("GOPATH").map_err(|_| ApplicationError::BaseDirNotFound)?;
let base_dir = format!("{}/src", base_dir);

// Try opening the base directory
fs::read_dir(&base_dir).map_err(ApplicationError::BaseDirCannotBeOpened)?;
Expand Down

0 comments on commit edb05d0

Please sign in to comment.