@owservable/folders 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ console.log(subfolders); // Array of matching subfolder paths
|
|
|
73
73
|
import { listSubfoldersFilesByFolderName } from '@owservable/folders';
|
|
74
74
|
|
|
75
75
|
// Get all files from subfolders with specific name
|
|
76
|
-
const files = listSubfoldersFilesByFolderName('/path/to/parent', 'targetFolderName');
|
|
76
|
+
const files = await listSubfoldersFilesByFolderName('/path/to/parent', 'targetFolderName');
|
|
77
77
|
|
|
78
78
|
console.log(files); // Array of file paths from matching subfolders
|
|
79
79
|
```
|