diff --git a/dist/index.js b/dist/index.js index f7dcaa0..877c40d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -25277,9 +25277,9 @@ var getVersion = function (version) { return __awaiter(void 0, void 0, void 0, f major: parseInt(version[1]), minor: parseInt(version[2]), patch: parseInt(version[3]), - manifestSafeVersionString: version[0].padStart(2, "0") + "." + - version[1].padStart(2, "0") + "." + - version[2].padStart(2, "0") + manifestSafeVersionString: version[1].padStart(2, "0") + "." + + version[2].padStart(2, "0") + "." + + version[3].padStart(2, "0") }]; }); }); }; diff --git a/src/index.ts b/src/index.ts index 3246b75..94273d9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,9 +8,9 @@ const getVersion = async (version: Array): Promise => { minor: parseInt(version[2]), patch: parseInt(version[3]), manifestSafeVersionString: - version[0].padStart(2, "0") + "." + version[1].padStart(2, "0") + "." + - version[2].padStart(2, "0") + version[2].padStart(2, "0") + "." + + version[3].padStart(2, "0") }; }