Skip to content

Commit

Permalink
fix: info.json path
Browse files Browse the repository at this point in the history
  • Loading branch information
carsakiller committed Jan 20, 2023
1 parent 1800a76 commit 4e2ba4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function run() {
const sha = submoduleMatch[1];
const submodulePath = submoduleMatch[2];

const infoFilePath = path.join(submodulePath, "info.json");
const infoFilePath = path.join(submodulePath, "..", "info.json");

const rawInfo = await fs.promises.readFile(infoFilePath);
const info = JSON.parse(rawInfo.toString());
Expand Down

0 comments on commit 4e2ba4b

Please sign in to comment.