mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
prompt
This commit is contained in:
parent
5e85d804f8
commit
17aa9eea97
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ class DirectoryStrService extends Disposable implements IDirectoryStrService {
|
|||
|
||||
async getDirectoryStrTool(uri: URI, options?: { maxItemsPerDir?: number }) {
|
||||
const eRoot = this.explorerService.findClosest(uri)
|
||||
if (!eRoot) throw new Error(`There was a problem reading the URI: ${uri.fsPath}.`)
|
||||
if (!eRoot) throw new Error(`The folder ${uri.fsPath} does not exist.`)
|
||||
|
||||
const maxItemsPerDir = options?.maxItemsPerDir ?? START_MAX_ITEMS_PER_DIR; // Use START_MAX_ITEMS_PER_DIR
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue