Skip to content

Commit

Permalink
wip/change ~ update biome format
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Nov 26, 2023
1 parent 7c996e2 commit 2fb6a3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eg/show-paths.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ xdgAppPaths.log = function (dirOptions) {

return path.join(
self.state(dirOptions_),
`${dirOptions_.isolated ? '' : `${self.$name()}-`} + 'log'`
`${dirOptions_.isolated ? '' : `${self.$name()}-`} + 'log'`,
);
};

Expand Down
2 changes: 1 addition & 1 deletion eg/show-paths.esm.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'`,
);
};

Expand Down
2 changes: 1 addition & 1 deletion src/lib/XDGAppPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2fb6a3b

Please sign in to comment.