From 2fb6a3badd0eec6f62ff38e22f57771a37acbadf Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sun, 19 Nov 2023 00:46:41 -0600 Subject: [PATCH] wip/change ~ update `biome format` --- eg/show-paths.cjs.js | 2 +- eg/show-paths.esm.mjs | 2 +- src/lib/XDGAppPaths.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eg/show-paths.cjs.js b/eg/show-paths.cjs.js index fd7da4d..1685fbb 100644 --- a/eg/show-paths.cjs.js +++ b/eg/show-paths.cjs.js @@ -35,7 +35,7 @@ xdgAppPaths.log = function (dirOptions) { return path.join( self.state(dirOptions_), - `${dirOptions_.isolated ? '' : `${self.$name()}-`} + 'log'` + `${dirOptions_.isolated ? '' : `${self.$name()}-`} + 'log'`, ); }; diff --git a/eg/show-paths.esm.mjs b/eg/show-paths.esm.mjs index df18aa9..0a7d050 100644 --- a/eg/show-paths.esm.mjs +++ b/eg/show-paths.esm.mjs @@ -40,7 +40,7 @@ xdgAppPaths.log = function (dirOptions = null) { return path.join( self.state(dirOptions_), - `${dirOptions_.isolated ? '' : `${self.$name()}-`} + 'log'` + `${dirOptions_.isolated ? '' : `${self.$name()}-`} + 'log'`, ); }; diff --git a/src/lib/XDGAppPaths.ts b/src/lib/XDGAppPaths.ts index 96f780c..e6cf032 100644 --- a/src/lib/XDGAppPaths.ts +++ b/src/lib/XDGAppPaths.ts @@ -122,7 +122,7 @@ function Adapt(adapter_: Platform.Adapter): { readonly XDGAppPaths: XDGAppPaths ]; const nameFallback = '$eval'; const name = path.parse( - (namePriorityList.find((e) => isString(e)) ?? nameFallback) + suffix + (namePriorityList.find((e) => isString(e)) ?? nameFallback) + suffix, ).name; XDGAppPaths.$name = function $name() {