Skip to content

Commit

Permalink
readd code
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS committed Mar 31, 2024
1 parent 6d3b7a0 commit f0c1d68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/rivet/src/builder/mod.ri
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ pub struct Builder {
process.set_cwd(dir_name)!;
if Path.is_directory(path) {
found = true;
if name.is_empty() { // path == "." || path == ".."
name = Path.base_name(Path.dir_name(Path.absolute(name)!)?);
}
abspath = Path.resolve(path)!;
mut mod_basedir := Path.dir_name(abspath) ?? abspath;
if mod_basedir.ends_with("/src") {
Expand Down

0 comments on commit f0c1d68

Please sign in to comment.