Call GitHub API to get the latest version info (#31)
* call github api to get the latest version info * remove latest case from installer.tests * update dist
This commit is contained in:
@@ -21,10 +21,10 @@ describe('installer tests', () => {
|
||||
await io.rmRF(TEMP_DIR)
|
||||
})
|
||||
|
||||
const versions = ['1.7.14', 'latest']
|
||||
const versions = ['1.7.14']
|
||||
|
||||
it.each(versions)('install ossutil %s', async version => {
|
||||
await installer.getOssutil(version)
|
||||
await installer.installOssutil(version)
|
||||
|
||||
expect(await io.which('ossutil', true)).toBeTruthy()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user