From 28d9b5add48ef3fb0110b3696a95ac036f6f3a8c Mon Sep 17 00:00:00 2001 From: ziebam Date: Sat, 5 Oct 2024 23:03:59 +0200 Subject: [PATCH] chore(deps): revert formatting changes --- lib/glob-assets.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/glob-assets.js b/lib/glob-assets.js index f90bbc30..cfe38458 100644 --- a/lib/glob-assets.js +++ b/lib/glob-assets.js @@ -22,7 +22,7 @@ export default async function globAssets({ cwd }, assets) { if (glob.length <= 1 && glob[0].startsWith("!")) { debug( "skipping the negated glob %o as its alone in its group and would retrieve a large amount of files", - glob[0] + glob[0], ); return []; } @@ -64,7 +64,7 @@ export default async function globAssets({ cwd }, assets) { // If asset is a String definition but no match is found, output the elements of the original glob (each one will be considered as a missing file) return glob; - }) + }), // Sort with Object first, to prioritize Object definition over Strings in dedup ) ) @@ -73,6 +73,6 @@ export default async function globAssets({ cwd }, assets) { // Compare `path` property if Object definition, value itself if String (a, b) => resolve(cwd, isPlainObject(a) ? a.path : a) === - resolve(cwd, isPlainObject(b) ? b.path : b) + resolve(cwd, isPlainObject(b) ? b.path : b), ); }