1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Fix bad string split destructuring

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-03-05 14:31:57 +00:00
parent e4d4628cc8
commit a1f4b07b7d

View File

@@ -45,7 +45,7 @@ async function getRelease(github, dependency) {
if (dependency.includes("/")) {
let rest;
[owner, rest] = dependency.split("/")[0];
[owner, rest] = dependency.split("/");
if (dependency.includes("@")) {
[repo, tag] = rest.split("@");