Skip to content

Commit

Permalink
Clarify stopDir option
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajaco committed Nov 19, 2023
1 parent 490bc28 commit d8808d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Returns [`Workspace[]`](#workspace) or `null` if `dirname` is not inside a monor
Type: `string | undefined`
Default: `process.cwd()`

The directory to start looking for the monorepo root.
The directory to start searching for the monorepo root.

#### Options

Expand All @@ -67,7 +67,7 @@ Returns [`WorkspacesRoot`](#workspaceroot) or `null` if `dirname` is not inside
Type: `string | undefined`
Default: `process.cwd()`

The directory to start looking for the monorepo root.
The directory to start searching for the monorepo root.

#### Options

Expand All @@ -87,7 +87,8 @@ Returns a cache which can be provided to [`findWorkspaces`](#findworkspacesdirna
Type: `string | undefined`
Default: `os.homedir()`

The directory to stop looking for the monorepo root.
The directory to stop searching for the monorepo root.
The provided directory will not be included in the search.

#### cache

Expand Down

0 comments on commit d8808d8

Please sign in to comment.