MCPcopy
hub / github.com/electerm/electerm / getReleaseInfo

Function getReleaseInfo

npm/install.js:66–77  ·  view source on GitHub ↗
(filter)

Source from the content-addressed store, hash-verified

64}
65
66function getReleaseInfo (filter) {
67 return phin({
68 url: releaseInfoUrl,
69 timeout: 15000
70 })
71 .then((res) => {
72 return JSON.parse(res.body.toString())
73 .release
74 .assets
75 .filter(filter)[0]
76 })
77}
78
79function showFinalMessage () {
80 console.log('')

Callers 5

runLinuxFunction · 0.70
runWinFunction · 0.70
runWin7Function · 0.70
runMacFunction · 0.70
runMac10Function · 0.70

Calls 3

phinFunction · 0.85
filterMethod · 0.80
parseMethod · 0.80

Tested by

no test coverage detected