diff --git a/src/cdn/funcs/saveResponse.ts b/src/cdn/funcs/saveResponse.ts index 9ba09c2..24b0432 100644 --- a/src/cdn/funcs/saveResponse.ts +++ b/src/cdn/funcs/saveResponse.ts @@ -14,7 +14,7 @@ export default function saveResponse( //Remember file size const headerLength = Number(response.headers['content-length']); - const tempFileName = `'/tmp/swtor-patcher-download-${Math.random()}.tmp`; + const tempFileName = `/tmp/swtor-patcher-download-${Math.random()}.tmp`; //If we receive a part of the response, write it to disk let previousChunk: Promise = new Promise((innerResolve) => { innerResolve(); });