Skip to content

Commit

Permalink
Fix processing issue where a dependent task to prepare directories wa…
Browse files Browse the repository at this point in the history
…s happening too late. Fixes #27
  • Loading branch information
connorhsm committed Apr 27, 2024
1 parent 33b39a1 commit 57ada94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion process/src/GameData.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class GameData {
this.objects = {};
this.categories = [];
this.biomes = [];
this.prepareStaticDir();
}

download(gitURL) {
Expand Down
3 changes: 3 additions & 0 deletions process/src/MainProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class MainProcessor {
gameData.checkoutMaster();
}

console.log("Preparing directories...");
gameData.prepareStaticDir();

console.log("Importing objects...");
gameData.importObjects();
gameData.importCategories();
Expand Down

0 comments on commit 57ada94

Please sign in to comment.