Fix build for windows machines

This commit is contained in:
Philip Feldmann
2017-04-03 14:21:57 +01:00
committed by Philip Feldmann
parent cba33dfbee
commit 6ac07d03bf
3 changed files with 6 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ const itemInfoFromFilename = (fileName) => {
const [
release,
nameWithSuffix,
] = fileName.split('/').slice(-2);
] = fileName.split(path.sep).slice(-2);
return {
name: nameWithSuffix.substr(0, nameWithSuffix.length - 3),
release,