kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Allow dash in filenames
rodzic
7f8802e448
commit
d2cc745e30
|
@ -16,7 +16,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
|
|
||||||
sanitize: function(filePath){
|
sanitize: function(filePath){
|
||||||
filePath = filePath.replace(/[^\w.]/g, "_");
|
filePath = filePath.replace(/[^\w.-]/g, "_");
|
||||||
return filePath;
|
return filePath;
|
||||||
}
|
}
|
||||||
};
|
};
|
Ładowanie…
Reference in New Issue