fix(ci): satisfy lint contracts-ready lane
This commit is contained in:
@@ -134,11 +134,8 @@ function expectCode(code: SessionQueryErrorCode): Error {
|
||||
}
|
||||
|
||||
function rejectUnknown<T>(reason: unknown): Promise<T> {
|
||||
return new Promise<T>((_resolve, reject) => {
|
||||
// Exercise containment for an implementation that violates the Error rejection convention.
|
||||
// oxlint-disable-next-line typescript/prefer-promise-reject-errors
|
||||
reject(reason)
|
||||
})
|
||||
// Exercise containment for an implementation that violates the Error rejection convention.
|
||||
return Promise.reject(reason) // oxlint-disable-line typescript/prefer-promise-reject-errors
|
||||
}
|
||||
|
||||
const cancellableSessionListings = [
|
||||
|
||||
Reference in New Issue
Block a user