Skip to content

Commit

Permalink
Scrub cwd, as it has moved to @cross/fs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Apr 8, 2024
1 parent 07023a5 commit dd83cb7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 37 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ bunx jsr add @cross/utils
- **spawn(command: CommandArray, extraEnvVars?: Object, cwd?: string)**
- Spawns a sub process.

- **cwd()**
- Returns the current working directory.

- **table(data: string[][])**
- Generates a neatly formatted table representation of a 2D array and prints
it to the console.
Expand Down Expand Up @@ -127,9 +124,6 @@ functionality:
- **exit(code?: number): void** - Terminates the process with control over the
exit code.

- **@cross/utils/cwd**
- **cwd(): string** - Returns current working directory.

* **@cross/utils/format**
- **table(data: string[][]): void** - Generates a neatly formatted table
representation of a 2D array and prints it to the console.
Expand Down
3 changes: 1 addition & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "@cross/utils",
"version": "0.10.0",
"version": "0.11.0",
"exports": {
".": "./mod.ts",
"./ansi": "./utils/ansi.ts",
"./args": "./utils/args.ts",
"./exit": "./utils/exit.ts",
"./spawn": "./utils/spawn.ts",
"./cwd": "./utils/cwd.ts",
"./table": "./utils/table.ts",
"./execpath": "./utils/execpath.ts"
},
Expand Down
1 change: 0 additions & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ export { args, ArgsParser } from "./utils/args.ts";
export { Colors, Cursor, stripAnsi } from "./utils/ansi.ts";
export { spawn } from "./utils/spawn.ts";
export type { SpawnResult } from "./utils/spawn.ts";
export { cwd } from "./utils/cwd.ts";
export { execPath, resolvedExecPath } from "./utils/execpath.ts";
28 changes: 0 additions & 28 deletions utils/cwd.ts

This file was deleted.

0 comments on commit dd83cb7

Please sign in to comment.