Various adaptations for Phantomas v2

This commit is contained in:
Gaël Métais
2020-08-10 01:03:42 +02:00
parent 1d3dee1950
commit f49411b3a9
8 changed files with 40 additions and 151 deletions
+4
View File
@@ -103,6 +103,10 @@ var PhantomasWrapper = function() {
offenders: results.getAllOffenders()
};
// For debugging purpose only
var fs = require('fs');
fs.writeFile('phantomas-response.json', JSON.stringify(json, null, 2), 'utf8', function(){});
deferred.resolve(json);
}).
catch(res => {