opscode/chef — pull request #737 by thommay (2013-04-25 21:05:37+00:00)
Title: CHEF-4130 - name tempfile correctly

When one edits an object via knife, the tempfile winds up with a file extension of .js . If one's using a syntax checker like syntastic, you get jslint validation errors because json is not strictly validatable as js.