We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 161605a commit 1bac1b3Copy full SHA for 1bac1b3
crates/forge/bin/cmd/build.rs
@@ -93,6 +93,8 @@ impl BuildArgs {
93
let mut files = vec![];
94
if let Some(paths) = &self.paths {
95
for path in paths {
96
+ let joined = project.root().join(path);
97
+ let path = if joined.exists() { &joined } else { path };
98
files.extend(source_files_iter(path, MultiCompilerLanguage::FILE_EXTENSIONS));
99
}
100
0 commit comments