Skip to content

Commit

Permalink
vars -> const
Browse files Browse the repository at this point in the history
  • Loading branch information
aidant19 committed Jan 10, 2024
1 parent 0052d8b commit 0d039ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/ajexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ function injectModelPackPaths(modelContent, paths) {

function getConfigPaths(configFile) {
const f = JSON.parse(readFileSync(configFile).toString());
let resourcePackPath = f.resource_pack_mcmeta;
let dataPackPath = f.datapack_mcmeta;
let assetsPath = f.assets_path;
let ajmodelPath = f.ajmodel_folder;
const resourcePackPath = f.resource_pack_mcmeta;
const dataPackPath = f.datapack_mcmeta;
const assetsPath = f.assets_path;
const ajmodelPath = f.ajmodel_folder;
return [resourcePackPath, dataPackPath, assetsPath, ajmodelPath];
}

0 comments on commit 0d039ab

Please sign in to comment.