Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

adding tests for sync, resolve, info, and rename #130

Merged
merged 4 commits into from
Feb 24, 2017

Conversation

jpricket
Copy link
Member

No description provided.

@msftclas
Copy link

@jpricketMSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@@ -93,6 +99,17 @@ export class GetInfo implements ITfvcCommand<IItemInfo[]> {
itemInfos.push(curItem);
}

// If all of the info objects are "empty" let's report an error
if (itemInfos.length === itemInfos.filter(info => info.localItem === undefined).length) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will throw if item length is zero. Seems wrong.

@jpricket jpricket merged commit 43b800d into master Feb 24, 2017
@jpricket jpricket deleted the users/jpricket/0221 branch February 24, 2017 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants