diff --git a/libs/utils.js b/libs/utils.js index de163d0..d6b4ea7 100644 --- a/libs/utils.js +++ b/libs/utils.js @@ -16,7 +16,7 @@ module.exports = { }, sanitize: function(filePath){ - filePath = filePath.replace(/[^\w.]/g, "_"); + filePath = filePath.replace(/[^\w.-]/g, "_"); return filePath; } }; \ No newline at end of file