From 9707ad7ad58f97196b70f2c5f7f539a12573f4d6 Mon Sep 17 00:00:00 2001 From: David Finol Date: Tue, 17 Nov 2020 17:51:10 -0600 Subject: [PATCH] Convert version major and minor to numbers (#180) * Convert version major and minor to numbers * fix linting error Co-authored-by: Webber Takken --- src/model/image-tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/image-tag.js b/src/model/image-tag.js index 65fa7d344..8630dab1e 100644 --- a/src/model/image-tag.js +++ b/src/model/image-tag.js @@ -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: