mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Convert version major and minor to numbers (#180)
* Convert version major and minor to numbers * fix linting error Co-authored-by: Webber Takken <webber@takken.io>
This commit is contained in:
parent
8eeb848483
commit
9707ad7ad5
@ -51,7 +51,7 @@ class ImageTag {
|
||||
facebook,
|
||||
} = ImageTag.imageSuffixes;
|
||||
|
||||
const [major, minor] = version.split('.');
|
||||
const [major, minor] = version.split('.').map((digit) => Number(digit));
|
||||
// @see: https://docs.unity3d.com/ScriptReference/BuildTarget.html
|
||||
switch (platform) {
|
||||
case Platform.types.StandaloneOSX:
|
||||
|
Loading…
Reference in New Issue
Block a user