Code coverage report for lib/util.js

Statements: 80% (4 / 5)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 80% (4 / 5)      Ignored: none     

All files » lib/ » util.js
1 2 3 4 5 6 7 8 9 10 11 12    3   3 3         3  
// Support for very old versions of node where the module was called "sys".  At some point, we should abandon this.
 
var util;
 
try {
    util = require("util");
} catch (err) {
    util = require("sys");
}
 
module.exports = util;