Skip to content

Conversation

@ericsciple
Copy link
Contributor

fixes #75

if (description.length > width) {
segment = description.substr(0, width + 1)
while (!segment.endsWith(' ')) {
while (!segment.endsWith(' ') && segment) {
Copy link
Contributor Author

@ericsciple ericsciple Jan 3, 2020

Choose a reason for hiding this comment

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

fixes infinite loop

while (!segment.endsWith(' ') && segment) {
segment = segment.substr(0, segment.length - 1)
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

better to spill over the margin than wrap too early

@ericsciple ericsciple changed the title Add link to doc for creating and using encyrpted secrets Add link to doc for creating and using encrypted secrets Jan 3, 2020
@ericsciple ericsciple merged commit bc50a99 into master Jan 3, 2020
@ericsciple ericsciple deleted the users/ericsciple/m163link branch January 3, 2020 17:32
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.

Inform people that repository collaborators can read PATs or discourage people from using them

3 participants