google / open-vcdiff

An encoder/decoder for the VCDIFF (RFC3284) format
Apache License 2.0
187 stars 52 forks source link

Redundant comma in json output #37

Closed Steelskin closed 10 years ago

Steelskin commented 10 years ago

Original issue 37 created by sunzhuoshi on 2012-10-31T15:24:04.000Z:

What steps will reproduce the problem?

  1. create file "test1.js", input "test1", and save it.
  2. create file "test2.js", input "test2", and save it, too.
  3. run command line: vcdiff encode -json -dictionary test1.js -target test2.js -delta delta.js

What is the expected output? What do you see instead? the excpeted output: ["test2"] what I see: ["test2",]

What version of the product are you using? On what operating system? version: 0.8.3 OS: Mac OS X 10.7.4

Please provide any additional information below.