Skip to content

Commit

Permalink
includes ajmodel -> endsWith .ajmodel
Browse files Browse the repository at this point in the history
Co-authored-by: Afro <[email protected]>
  • Loading branch information
aidant19 and TheAfroOfDoom authored Jan 12, 2024
1 parent 10c04ab commit 5fc9480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package-scripts/modules/ajexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function script() {
const modelDir = paths.ajmodelPath.concat('/');
console.log('Target paths: ', paths);
const files = readdirSync(modelDir).filter((file) =>
file.includes('ajmodel'),
file.endsWith('.ajmodel'),
);

for (const file of files) {
Expand Down

0 comments on commit 5fc9480

Please sign in to comment.