diff --git a/lib/consumers/archive-view.js b/lib/consumers/archive-view.js index 52f68638..2b246a90 100644 --- a/lib/consumers/archive-view.js +++ b/lib/consumers/archive-view.js @@ -1,5 +1,6 @@ "use strict"; +const {sep} = require("path"); const {normalisePath} = require("alhadis.utils"); const ArchiveEntry = require("./archive-entry.js"); const Consumer = require("./consumer.js"); @@ -125,7 +126,7 @@ class ArchiveView extends Consumer { return elements .reverse() .map(el => el.firstElementChild.textContent) - .join("/"); + .join(sep); } }