Skip to content

Conversation

@nfischer
Copy link
Member

This PR should not be merged until we get closer to the v0.8 release date.

@nfischer nfischer added the breaking Breaking change label Jan 18, 2017
@nfischer nfischer added this to the v0.8.0 milestone Jan 18, 2017
* Split on newlines only

* Only split lines if need be

* Clarify code by making use of Array.prototype.reduce
@codecov-io
Copy link

codecov-io commented Mar 16, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@84ffb38). Click here to learn what that means.
The diff coverage is 90.9%.

@@            Coverage Diff            @@
##             master     #650   +/-   ##
=========================================
  Coverage          ?   96.18%           
=========================================
  Files             ?       33           
  Lines             ?     1152           
  Branches          ?        0           
=========================================
  Hits              ?     1108           
  Misses            ?       44           
  Partials          ?        0
Impacted Files Coverage Δ
src/tempdir.js 100% <ø> (ø)
src/uniq.js 100% <ø> (ø)
src/echo.js 37.5% <0%> (ø)
src/grep.js 100% <100%> (ø)
src/sort.js 96.42% <100%> (ø)
src/common.js 98.29% <100%> (ø)
src/sed.js 100% <100%> (ø)
src/exec.js 92.59% <91.66%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84ffb38...a7ee6a2. Read the comment docs.

nfischer and others added 5 commits March 16, 2017 10:10
* Add newline to output of echo (#557)

* Add newline to output of echo

* Add test

* Throw an error if the options string does not start with '-' (#615)

* Throw an error if the options string does not start with '-'

* Add test

* Change message grammar

* Add -n option to echo

* Fix null argument issue

* Add -n tests

* Add documentation

* Add -en escaped character test

* Add function to parse options for echo

* Use parseOptions to parse echo options

* Simplify control flow

* parseOptions throws now

* Allow null to be echoed

* Prevent echo stderr on unrecognized option

* Add test to check stderr of returned value

* Use consistent variable name

* Change test message, leave TODO about console output
* Add stdout/stderr test mocks

* Mock stdout/stderr during echo tests

* Fix lint issues

* Use 'use strict'

* Re-implement mocks as a prototype

* Implement mocks as a single-instance

* Remove redundant test

* Create mocked stdout/stderr.write methods once
* Deprecate common.getUserHome, advise using os.homedir instead

* Remove common.getUserHome
@freitagbr freitagbr mentioned this pull request Jun 7, 2017
@nfischer
Copy link
Member Author

nfischer commented Jun 7, 2017

Closing in favor of #731

@nfischer nfischer closed this Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants