google / closure-compiler-js

Package for the JS version of closure-compiler for use via NPM
https://github.com/google/closure-compiler
Apache License 2.0
1.84k stars 64 forks source link

Fix reading from stdin #61

Closed lahmatiy closed 7 years ago

lahmatiy commented 7 years ago

compile takes a list of sources in format { src: "js" }. When read from stdin its content doesn't wrap into object and compile returns an empty output.

googlebot commented 7 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


lahmatiy commented 7 years ago

I signed it!

googlebot commented 7 years ago

CLAs look good, thanks!

lahmatiy commented 7 years ago

Oh, I found that another PR (https://github.com/google/closure-compiler-js/pull/56) does the same.