Skip to content

Commit 88149c8

Browse files
authored
Skip warning for the manifest file (#3025)
1 parent dd7fe62 commit 88149c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelLoader.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ static boolean load(
7171
return loadParsedNode(Node.parse(inputStream, filename), operationConsumer);
7272
}
7373
} else {
74-
LOGGER.warning(() -> "Ignoring unrecognized Smithy model file: " + filename);
74+
if (!filename.endsWith("manifest")) {
75+
LOGGER.warning(() -> "Ignoring unrecognized Smithy model file: " + filename);
76+
}
7577
return false;
7678
}
7779
} catch (IOException e) {

0 commit comments

Comments
 (0)