这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rchande
Copy link

@rchande rchande commented Sep 10, 2019

No description provided.

continue;
}

var quote2 = line.IndexOf('\'', quote1 + 1);
Copy link
Member

Choose a reason for hiding this comment

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

so it is 0 or 4 \ char always?

Copy link
Author

Choose a reason for hiding this comment

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

Can't have ' in package name or version number...

}

public Task<CommandLineResult> AddPackage(string packageId, string version = null, Budget budget = null)
public async Task<AddPackageResult> AddPackage(string packageId, string version = null, Budget budget = null)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can also just be an extension method since it doesn't rely on any non-public state or APIs of the DotNet class.

@rchande rchande merged commit 4de20ea into dotnet:master Sep 10, 2019
@rchande rchande deleted the improve-logging branch September 10, 2019 21:38
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.

5 participants