9 lines
150 B
JavaScript
9 lines
150 B
JavaScript
'use strict';
|
|
|
|
var path = require('path');
|
|
|
|
function normalize(str) {
|
|
return str === '' ? str : path.normalize(str);
|
|
}
|
|
|
|
module.exports = normalize;
|