Skip to content

Conversation

@godrei
Copy link
Contributor

@godrei godrei commented Oct 11, 2017

…ode managed profile detection

main.go Outdated
}

func strip(str string) string {
str = strings.TrimPrefix(str, "\n")
Copy link
Contributor

Choose a reason for hiding this comment

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

TrimPrefix and TrimSuffix removes only one \n, but as it is a custom input, here can be more than one \ns

@godrei godrei merged commit 340f3f6 into master Oct 11, 2017
@godrei godrei deleted the update branch October 11, 2017 15:39
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