Skip to content

Commit

Permalink
Merge branch 'main' into feat/dungeons
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthGigi committed Jul 20, 2024
2 parents 270461a + d01bf25 commit 2174682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/pnpm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
node-version: "20"

- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v4
with:
version: "9.4"

Expand Down
4 changes: 2 additions & 2 deletions src/lib/scripts/parseNEURepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const NEU_CONSTANTS = new Map();

export async function parseNEURepository() {
const timeNow = performance.now();
if (!fs.statSync("src/lib/constants/NotEnoughUpdates-REPO/items").isDirectory()) {
return;
if (!fs.existsSync("src/lib/constants/NotEnoughUpdates-REPO/items")) {
throw new Error("Couldn't find the NEU items directory (src/lib/constants/NotEnoughUpdates-REPO/items). Make sure you have the NEU repository cloned in the correct location.");
}

const items = fs.readdirSync("src/lib/constants/NotEnoughUpdates-REPO/items");
Expand Down

0 comments on commit 2174682

Please sign in to comment.