We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
null
1 parent b2cb31a commit caa4d21Copy full SHA for caa4d21
1 file changed
lib/helper.js
@@ -131,7 +131,7 @@ exports.formatTimeInterval = function (time) {
131
}
132
133
var replaceWinPath = function (path) {
134
- return exports.isDefined(path) ? path.replace(/\\/g, '/') : path
+ return _.isString(path) ? path.replace(/\\/g, '/') : path
135
136
137
exports.normalizeWinPath = process.platform === 'win32' ? replaceWinPath : _.identity
0 commit comments