Fixed polyfill

This commit is contained in:
Antoine Gersant 2017-07-04 03:44:56 -07:00
parent 74c74651b5
commit dbdc17f147

View file

@ -1,7 +1,7 @@
module.exports = {
before : function(cb) {
console.log("Requiring fetch polyfill");
fetch = require('node-fetch').fetch;
fetch = require('node-fetch');
cb();
}
};