[ci] format
This commit is contained in:
parent
921d9a27e2
commit
a3654a7537
1 changed files with 3 additions and 1 deletions
|
@ -407,7 +407,9 @@ async function getInstallIntegrationsCommand({
|
|||
.map<[string, string | null][]>((i) => [[i.packageName, null], ...i.dependencies])
|
||||
.flat(1)
|
||||
.filter((dep, i, arr) => arr.findIndex((d) => d[0] === dep[0]) === i)
|
||||
.map(([name, version]) => (version === null ? name : `${name}@${version.split(/\s*\|\|\s*/).pop()}`))
|
||||
.map(([name, version]) =>
|
||||
version === null ? name : `${name}@${version.split(/\s*\|\|\s*/).pop()}`
|
||||
)
|
||||
.sort();
|
||||
|
||||
switch (pm.name) {
|
||||
|
|
Loading…
Reference in a new issue