diff --git a/package.json b/package.json index fb6e258..7088f75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bitburner-filesync", - "version": "1.1.0", + "version": "1.1.5", "description": "Official implementation of the Bitburner Filesync server", "type": "module", "bin": "./npx/bitburner-filesync.js", diff --git a/src/networking/messageGenerators.js b/src/networking/messageGenerators.js index 498ac54..f7c311c 100644 --- a/src/networking/messageGenerators.js +++ b/src/networking/messageGenerators.js @@ -23,7 +23,7 @@ export function fileRemovalEventToMsg({ path }) { "method": "deleteFile", "params": { "server": "home", - "filename": path, + "filename": addLeadingSlash(path), }, "id": messageCounter++ }