-
Notifications
You must be signed in to change notification settings - Fork 843
Conversation
3339fe9 to
d745a48
Compare
wbreza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great - Added some feedback on whether we should just always default to recursive: true?
| public async getAssets( | ||
| sourceConnectionFolderPath?: string, | ||
| relativePath: boolean = false, | ||
| recursive: boolean = true): Promise<IAsset[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to not always have recursive set??
|
|
||
| public listFiles(folderPath: string): Promise<string[]> { | ||
| return this.listItems(path.normalize(folderPath), (stats) => !stats.isDirectory()); | ||
| public async listFiles(folderPath: string, ext?: string, recursive: boolean = false): Promise<string[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, any reason not do always have this as true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't sure. Was leaving it open for flexibility, but I'll remove that param
884b883 to
068fbdc
Compare
068fbdc to
1911324
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
jding05
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds capability of using all nested assets within a source directory.
Addresses #839