diff --git a/src/plugins/validate-spectral/index.js b/src/plugins/validate-spectral/index.js index d0a5db19010..db2c246dcb8 100644 --- a/src/plugins/validate-spectral/index.js +++ b/src/plugins/validate-spectral/index.js @@ -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)