Jonatan Nilsson
e026b9757d
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
24 lines
444 B
JavaScript
24 lines
444 B
JavaScript
export default class StaticProvider {
|
|
constructor(config) {
|
|
this.config = config
|
|
this.static = true
|
|
}
|
|
|
|
getLatestVersion() {
|
|
return Promise.resolve({
|
|
version: 'static',
|
|
link: '',
|
|
filename: '',
|
|
description: '',
|
|
log: '',
|
|
})
|
|
}
|
|
|
|
downloadVersion(){
|
|
return Promise.reject(new Error('Static provider does not support downloading'))
|
|
}
|
|
|
|
checkConfig() {
|
|
return Promise.resolve()
|
|
}
|
|
}
|