Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Comments

Ask() should accept spaces#7

Merged
mitchellh merged 1 commit intomasterfrom
unknown repository
Jun 18, 2014
Merged

Ask() should accept spaces#7
mitchellh merged 1 commit intomasterfrom
unknown repository

Conversation

@chuyeow
Copy link
Contributor

@chuyeow chuyeow commented Jun 18, 2014

Ask() currently fails with an unhandled “expected newline” error if the input contains spaces.

This is because fmt.Fscanln() stores successive space-separated values into successive arguments but we are only asking for a single (store) argument.

fmt.Fscanln() will cause an unhandled “expected newline” error if the
input is space-separated.
@mitchellh
Copy link
Owner

LGTM. Thanks!

mitchellh added a commit that referenced this pull request Jun 18, 2014
@mitchellh mitchellh merged commit 2acba1a into mitchellh:master Jun 18, 2014
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.

2 participants