Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Eickhoff committed Aug 23, 2024
1 parent 07f205f commit f82aca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/validate-spectral/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const SOURCE = "spectral"
let controller = null
const ABORT_SIGNAL = "new validation request; aborting the current one";
//eslint-disable-next-line no-unused-vars
export const validateSpec = (jsSpec) => (arg) => {
// This not being null means a request is going on, cancel that
if (controller != null) {
controller.abort(ABORT_SIGNAL)
Expand Down

0 comments on commit f82aca1

Please sign in to comment.