Skip to content

Commit

Permalink
removing 1 slash less
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Nov 8, 2024
1 parent c388695 commit f00eb0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 51 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/format-json-files.yml

This file was deleted.

2 changes: 1 addition & 1 deletion test/src/schema-tester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export namespace Schema {

export async function getSchema(uri: string): Promise<string> {
const rootfolder = Files.RootFolder();
const filepath = uri.replace("https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/", rootfolder);
const filepath = uri.replace("https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main", rootfolder);

if (!existsSync(filepath)) {
throw new Error("file doesn't exist: " + filepath);
Expand Down

0 comments on commit f00eb0d

Please sign in to comment.