diff options
Diffstat (limited to 'build/constants.js')
-rw-r--r-- | build/constants.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/constants.js b/build/constants.js index 8300e52..5e09240 100644 --- a/build/constants.js +++ b/build/constants.js @@ -51,11 +51,12 @@ async function fetchFile(path) { 'Authorization': undefined }); const data = await r.json(); - return { + const file = { path: data.path, content: Buffer.from(data.content, data.encoding).toString(), sha: data.sha }; + fileCache.set(path, file); } /** * Edit a file on skyblock-constants |