GitHub user TimBarham opened a pull request: https://github.com/apache/cordova-coho/pull/91
CB-9361 Make verify-tags working nicely with Windows command prompt. The `verify-tags` command currently relies on users hitting `Ctrl+D` to trigger the end of input. However, this doesn't work in the Windows command prompt. I've modified this to use Node's `readline` module - read the input line by line, then process when an empty line is encountered. This way, the tags can be pasted then simply press `Enter`. On Unix-like systems, `Ctrl+D` will continue to work (and if you pipe in a file that will still work), since the `EOF` will trigger the `close` event. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-coho CB-9361 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-coho/pull/91.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #91 ---- commit 4dee85aa0efd79572bfeaae1e6b8499ae8e17001 Author: Tim Barham <tim.bar...@microsoft.com> Date: 2015-07-14T01:39:32Z CB-9361 Make verify-tags working nice with Windows command prompt. The verify-tags command currently relies on users entering a Ctrl+D to trigger the end of input. However, this doesn't work in the Windows command prompt. I've modified this to use Node's readline module - read the input line by line, then process when an empty line is encountered. This way, the tags can be pasted then simply press Enter. Note that on Unix-like systems, Ctrl+D will still work (and if you pipe in a file that doesn't have a blank line at the end, that will still work), since the EOF will trigger the 'close' event. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org