Temporary disable incorrect standard reports.
This commit is contained in:
parent
3dfebcadc1
commit
c526e9ac8f
10
src/xo.js
10
src/xo.js
@ -282,7 +282,7 @@ export default class Xo extends EventEmitter {
|
||||
}
|
||||
|
||||
async deleteUser (id) {
|
||||
if (!await this._users.remove(id)) {
|
||||
if (!await this._users.remove(id)) { // eslint-disable-line space-before-keywords
|
||||
throw new NoSuchUser(id)
|
||||
}
|
||||
}
|
||||
@ -360,7 +360,7 @@ export default class Xo extends EventEmitter {
|
||||
}
|
||||
|
||||
async deleteGroup (id) {
|
||||
if (!await this._groups.remove(id)) {
|
||||
if (!await this._groups.remove(id)) { // eslint-disable-line space-before-keywords
|
||||
throw new NoSuchGroup(id)
|
||||
}
|
||||
}
|
||||
@ -713,7 +713,7 @@ export default class Xo extends EventEmitter {
|
||||
}
|
||||
|
||||
async deleteAuthenticationToken (id) {
|
||||
if (!await this._tokens.remove(id)) {
|
||||
if (!await this._tokens.remove(id)) { // eslint-disable-line space-before-keywords
|
||||
throw new NoSuchAuthenticationToken(id)
|
||||
}
|
||||
}
|
||||
@ -741,7 +741,7 @@ export default class Xo extends EventEmitter {
|
||||
async unregisterXenServer (id) {
|
||||
this.disconnectXenServer(id).catch(() => {})
|
||||
|
||||
if (!await this._servers.remove(id)) {
|
||||
if (!await this._servers.remove(id)) { // eslint-disable-line space-before-keywords
|
||||
throw new NoSuchXenServer(id)
|
||||
}
|
||||
}
|
||||
@ -1082,7 +1082,7 @@ export default class Xo extends EventEmitter {
|
||||
|
||||
opts.createdAt = Date.now()
|
||||
|
||||
const url = `/${await generateToken()}`
|
||||
const url = `/${await generateToken()}` // eslint-disable-line space-before-keywords
|
||||
this._proxyRequests[url] = opts
|
||||
|
||||
return url
|
||||
|
Loading…
Reference in New Issue
Block a user