Detect files ending in "protodevel" as proto files in imports.
That appears to be a valid extension:
[]
[]
GITHUB_BREAKING_CHANGES=protodevel files can be used.
@@ -105,7 +105,7 @@ public final class ImportNode extends AbstractSoyNode {
}
private static ImportType importTypeForPath(String path) {
- if (path.endsWith(".proto")) {
+ if (path.endsWith(".proto") || path.endsWith(".protodevel")) {
return ImportType.PROTO;
} else if (path.endsWith(".soy")) {
return ImportType.TEMPLATE;
