Convert version major and minor to numbers

pull/180/head
David Finol 2020-11-17 17:02:07 -06:00 committed by GitHub
parent 8eeb848483
commit 93b6bc5737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class ImageTag {
facebook,
} = ImageTag.imageSuffixes;
const [major, minor] = version.split('.');
const [major, minor] = version.split('.').map(Number);
// @see: https://docs.unity3d.com/ScriptReference/BuildTarget.html
switch (platform) {
case Platform.types.StandaloneOSX: