-
-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH1710: GetSubDirectories alias #1711
Conversation
@patridge, It will cover your contributions to all .NET Foundation-managed open source projects. |
@patridge, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
/// <returns>An absolute directory path.</returns> | ||
[CakeMethodAlias] | ||
[CakeAliasCategory("List")] | ||
public static List<DirectoryPath> GetSubDirectories(this ICakeContext context, DirectoryPath directoryPath) |
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.
For consistency. This should return DirectoryPathCollection
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.
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.
For consistency. This should return DirectoryPathCollection
Agreed @mholo65 👍
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.
Good catch! Fixed
Let me know if/what I need to do about the TeamCity build failing. I wasn't totally sure what the error was describing when I logged in there as a guest. |
@patridge the fail on TeamCity has to do with reference assemblies missing/not found. Bug was introduced in PR #1645 and has nothing to do with your changes. @devlead @patriksvensson can we get TC Agend with
|
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!
@patridge could you squash all commits into one. Thanks! |
@mholo65 agents are maintained by JetBrains now, we could probably add a build step to install targeting pack, but best would be if they updated their agents. We'll reach out to them but meanwhile check isn't required. |
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 👍 I've rebased and squashed commits, and will merge as soon as CI finishes.
@patridge your changes have been merged, thanks for your contribution 👍 |
As described in #1710, this offers a simple Alias to get a list of sub-directories for a given DirectoryPath.