Skip to content

Commit

Permalink
Move code
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 9, 2022
1 parent 69aeb52 commit 0e79e7f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/top/system/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ const getRunnersVersions = async function (combinations, cwd) {
)
}

const getRunnerId = function ({
dimensions: {
runner: { id },
},
}) {
return id
}

const getRunnerVersions = async function (id, combinations, cwd) {
const {
dimensions: {
Expand All @@ -61,6 +53,14 @@ const getRunnerVersions = async function (id, combinations, cwd) {
return Object.assign({}, ...versionsA)
}

const getRunnerId = function ({
dimensions: {
runner: { id },
},
}) {
return id
}

const getRunnerVersion = async function ({
name,
version,
Expand Down

0 comments on commit 0e79e7f

Please sign in to comment.