Skip to content

Fixes and improvements #70

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

Merged
merged 1 commit into from
Aug 22, 2014
Merged

Fixes and improvements #70

merged 1 commit into from
Aug 22, 2014

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Aug 21, 2014

No description provided.

@Fatme Fatme force-pushed the fatme/fixes-and-improvements branch from 29177c8 to 328982a Compare August 22, 2014 07:49
@@ -63,7 +63,9 @@ export class NodePackageManager implements INodePackageManager {
}

var incrementedVersion = semver.inc(currentVersion, constants.ReleaseType.MINOR);
packageName = packageName + "@" + "<" + incrementedVersion;
if(packageName.indexOf("@") < 0) {
packageName = packageName + "@" + "<" + incrementedVersion;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we add the "<" separately for readability? Cause that is yet another string concatenation, making the operation a bit slower.

@teobugslayer
Copy link
Contributor

Looks good to me, 👍

@Fatme Fatme force-pushed the fatme/fixes-and-improvements branch from 328982a to 02cc9cb Compare August 22, 2014 13:41
Fatme added a commit that referenced this pull request Aug 22, 2014
@Fatme Fatme merged commit 0056c37 into master Aug 22, 2014
@Fatme Fatme deleted the fatme/fixes-and-improvements branch August 22, 2014 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants