summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbubbleattic <28359531+bubbleattic@users.noreply.github.com>2017-09-24 23:24:00 +0000
committerbubbleattic <28359531+bubbleattic@users.noreply.github.com>2017-09-24 23:24:00 +0000
commit468188ccd75f0b5cf5002ce690311f9c6a11d173 (patch)
tree47a7e0248fb4a38b3b088682d0f3edeed82e060f
parenta008080fdbcd94db5c70627dd90991063b5dbc83 (diff)
Fix issue with squash command
-rwxr-xr-xyq/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yq/__init__.py b/yq/__init__.py
index f8f5bcf..e353ebb 100755
--- a/yq/__init__.py
+++ b/yq/__init__.py
@@ -87,6 +87,7 @@ def main(args=None):
else:
for doc in input_docs:
json.dump(doc, jq.stdin, cls=JSONDateTimeEncoder)
+ jq.stdin.write('\n')
jq.stdin.close()
jq.wait()
input_stream.close()