Make sure our default R version is valid semver

pull/1161/head
YuviPanda 2022-06-23 09:14:34 -07:00
rodzic e51eae9287
commit 28035d6426
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -74,7 +74,8 @@ class RBuildPack(PythonBuildPack):
}
# the default if nothing is specified
r_version = "4.1"
# Use full version is needed here, so it a valid semver
r_version = version_map["4.1"]
if not hasattr(self, "_r_version"):
parts = self.runtime.split("-")