We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c0478b commit 7456b65Copy full SHA for 7456b65
crates/icp/src/project.rs
@@ -175,14 +175,7 @@ pub async fn consolidate_manifest(
175
// For explicit paths, validate that they exist and contain canister.yaml
176
let mut validated_paths = vec![];
177
for p in paths {
178
- if !p.is_dir() {
179
- return NotFoundSnafu {
180
- kind: "canister".to_string(),
181
- path: pattern.to_string(),
182
- }
183
- .fail();
184
185
- if !p.join(CANISTER_MANIFEST).exists() {
+ if !p.join(CANISTER_MANIFEST).is_file() {
186
return NotFoundSnafu {
187
kind: "canister".to_string(),
188
path: pattern.to_string(),
0 commit comments