From 334d5c5ed11b03b440c4043b6d6ad7c9966951c9 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 22 Jun 2021 15:53:31 +0200 Subject: [PATCH] Swap around abort argument order --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 066a6ec..f6e5c31 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ "use strict"; -module.exports = function propagateAbort(source, reason) { +module.exports = function propagateAbort(reason, source) { return source.abort(reason); -}; \ No newline at end of file +};