@itsmapleleaf/gatekeeper
Advanced tools
Comparing version 0.8.1-0 to 0.9.0
@@ -208,9 +208,3 @@ var __defProp = Object.defineProperty; | ||
this.actions.push(action); | ||
this.actions.sort((a, b) => { | ||
if (a.priority == null) | ||
return -1; | ||
if (b.priority == null) | ||
return 1; | ||
return a.priority - b.priority; | ||
}); | ||
this.actions.sort((a, b) => (a.priority ?? Infinity) - (b.priority ?? Infinity)); | ||
this.runActions(); | ||
@@ -217,0 +211,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"author": "itsmapleleaf", | ||
"version": "0.8.1-0", | ||
"version": "0.9.0", | ||
"types": "./dist/main.d.ts", | ||
@@ -8,0 +8,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
254373
2510