summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/paths.ts
diff options
context:
space:
mode:
authorJaana Dogan <[email protected]>2025-04-18 11:12:18 -0700
committerGitHub <[email protected]>2025-04-18 11:12:18 -0700
commit3afaa8033bdd9d6af99ff378cafcd84afd76c59e (patch)
treeeecba3f035a7147281dfe4db5ca015108ae9d3dc /packages/cli/src/utils/paths.ts
parente1fac4025606246e284b3e370d22100e8a25d652 (diff)
Introduce a config module to manage configuration (#22)
* Introduce a config module to manage configuration * Remove public modifier
Diffstat (limited to 'packages/cli/src/utils/paths.ts')
-rw-r--r--packages/cli/src/utils/paths.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/cli/src/utils/paths.ts b/packages/cli/src/utils/paths.ts
index 60762c9d..4dc6e5cb 100644
--- a/packages/cli/src/utils/paths.ts
+++ b/packages/cli/src/utils/paths.ts
@@ -1,14 +1,6 @@
-import process from 'node:process';
import path from 'node:path'; // Import the 'path' module
/**
- * Returns the target directory, using the provided argument or the current working directory.
- */
-export function getTargetDirectory(targetDirArg: string | undefined): string {
- return targetDirArg || process.cwd();
-}
-
-/**
* Shortens a path string if it exceeds maxLen, prioritizing the start and end segments.
* Example: /path/to/a/very/long/file.txt -> /path/.../long/file.txt
*/