Skip to content

Commit

Permalink
config path changed to relative
Browse files Browse the repository at this point in the history
  • Loading branch information
aidant19 committed Jan 11, 2024
1 parent b2cb11b commit 72e48f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package-scripts/modules/ajexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ export async function script() {
if (typeof AnimatedJava === 'undefined') {
throw new Error('Failed to load Animated Java plugin before CLI plugin');
}
const paths = getConfigPaths(
'C:\\Users\\Aidan\\Documents\\Media_Storage\\active_projects\\flowey_remaster\\omega-flowey-minecraft-remastered\\scripts\\config.json',
);
console.log(process.cwd());
const paths = getConfigPaths('./package-scripts/modules/config.json');
const modelDir = paths.ajmodelPath.concat('/');
console.log('Target paths: ', paths);
const files = readdirSync(modelDir).filter((file) =>
Expand Down

0 comments on commit 72e48f8

Please sign in to comment.