summaryrefslogtreecommitdiff
path: root/unrpyc/fix.js
blob: 88a964650f8428dd4d189ad065c61b65370150f5 (plain)
1
2
3
4
5
6
var fs = require('fs');

fs.readFile(process.argv[2], function (err, data) {
  if (err) throw err;
  fs.writeFile(process.argv[3], JSON.stringify(eval('(' + data + ')')));
});