[transport] before failing to send a request, ensure the return value is defined

This commit is contained in:
spalger
2015-09-08 21:06:57 -07:00
parent cd336c6d6e
commit a9175dad58
3 changed files with 36 additions and 21 deletions

View File

@ -32,12 +32,7 @@ module.exports = function (grunt) {
grunt.task.run(tasks);
});
grunt.registerTask('unit_test', [
'jshint',
'run:generate',
'mochacov:unit',
]);
grunt.registerTask('unit_test', 'mochacov:unit');
grunt.registerTask('coverage', [
'mochacov:make_coverage_html',
'open:coverage'
@ -84,4 +79,4 @@ module.exports = function (grunt) {
})
.nodeify(this.async());
});
};
};