Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Oct 23, 2023
1 parent 534bc41 commit 7d2e443
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 80 deletions.
72 changes: 0 additions & 72 deletions Documentation/Function/By.cwd.html

This file was deleted.

1 change: 0 additions & 1 deletion Documentation/Module/By.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ <h3 class="tsd-index-heading">Interfaces</h3>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Functions</h3>
<div class="tsd-index-list"><a href="../Function/By.By.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>By</span></a>
<a href="../Function/By.cwd.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>cwd</span></a>
</div></section></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
Expand Down
2 changes: 1 addition & 1 deletion Documentation/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Documentation/assets/search.js

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions Source/Function/By.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default (async (...[Files, Paths, Results]: Parameters<Type>) => {
for (const Result of await (
await import("fast-glob")
).default(Files, {
cwd: Input ?? cwd(),
cwd: Input ?? (await import("process")).cwd(),
onlyFiles: true,
})) {
Results.set(`${Output}${Result}`, `${Input}${Result}`);
Expand All @@ -18,5 +18,3 @@ export default (async (...[Files, Paths, Results]: Parameters<Type>) => {
}) satisfies Type as Type;

import type Type from "../Interface/By.js";

export const { cwd } = await import("process");
1 change: 0 additions & 1 deletion Target/Function/By.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
declare const _default: Type;
export default _default;
import type Type from "../Interface/By.js";
export declare const cwd: () => string;
2 changes: 1 addition & 1 deletion Target/Function/By.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
var f=async(...[o,r,t])=>{for(const[e,p]of r)for(const a of await(await import("fast-glob")).default(o,{cwd:e??s(),onlyFiles:!0}))t.set(`${p}${a}`,`${e}${a}`);return t};const{cwd:s}=await import("process");export{s as cwd,f as default};
var s=async(...[r,o,t])=>{for(const[e,p]of o)for(const a of await(await import("fast-glob")).default(r,{cwd:e??(await import("process")).cwd(),onlyFiles:!0}))t.set(`${p}${a}`,`${e}${a}`);return t};export{s as default};

0 comments on commit 7d2e443

Please sign in to comment.