Skip to content

Commit

Permalink
snake -> camel
Browse files Browse the repository at this point in the history
  • Loading branch information
aidant19 committed Jan 11, 2024
1 parent 457a948 commit d5b3494
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/ajexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ if (typeof AnimatedJava === 'undefined') {
const paths = getConfigPaths(
'C:\\Users\\Aidan\\Documents\\Media_Storage\\active_projects\\flowey_remaster\\omega-flowey-minecraft-remastered\\scripts\\config.json',
);
const model_dir = paths.ajmodelPath.concat('/');
const modelDir = paths.ajmodelPath.concat('/');
console.log('Target paths: ', paths);
const files = readdirSync(model_dir).filter((file) => file.includes('ajmodel'));
const files = readdirSync(modelDir).filter((file) => file.includes('ajmodel'));
const exportNextFile = () => {
if (Project) {
Project.close();
Expand All @@ -30,7 +30,7 @@ const exportNextFile = () => {
}
consoleLogJson({ file });
if (file.includes('ajmodel')) {
const content = readFileSync(model_dir.concat(file), 'utf-8');
const content = readFileSync(modelDir.concat(file), 'utf-8');
const name = file.split('/').pop();
const fileObj = {
path: file,
Expand Down

0 comments on commit d5b3494

Please sign in to comment.