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

Cleaning up the code and fixing some bugs #94

Merged
merged 2 commits into from
Feb 9, 2017
Merged

Conversation

jpricket
Copy link
Member

@jpricket jpricket commented Feb 9, 2017

  • Added support for multiple statuses on a file
  • removed unused code
  • fixed some files that were not linting
  • cleaned up names, and other style issues
    User Story #884935

- Added support for multiple statuses on a file
- removed unused code
- fixed some files that were not linting
- cleaned up names, and other style issues
User Story #884935
@msftclas
Copy link

msftclas commented Feb 9, 2017

Hi @jpricketMSFT, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Jason Prickett). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

}

// The next dominant type is RENAME
index = statuses.findIndex((s) => s === Status.RENAME);
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this block duplicated above?

case "merge": result.push(Status.MERGE); break;
case "rename": result.push(Status.RENAME); break;
case "source rename": result.push(Status.RENAME); break;
case "undelete": result.push(Status.UNDELETE); break;
Copy link
Contributor

Choose a reason for hiding this comment

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

no default case?

@jpricket jpricket merged commit 2d005fd into master Feb 9, 2017
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

3 participants