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