We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b55b6e commit 44f5750Copy full SHA for 44f5750
repo-scripts/api-documenter/src/cli/BaseAction.ts
@@ -105,7 +105,9 @@ export abstract class BaseAction extends CommandLineAction {
105
106
const addFileNameSuffix: boolean = this._fileNameSuffixParameter.value;
107
108
- for (const filename of FileSystem.readFolder(inputFolder)) {
+ for (const file of FileSystem.readFolderItems(inputFolder)) {
109
+ if (!file.isFile()) continue;
110
+ const filename = file.name;
111
if (filename.match(/\.api\.json$/i)) {
112
console.log(`Reading ${filename}`);
113
const filenamePath: string = path.join(inputFolder, filename);
0 commit comments