Skip to content

Commit

Permalink
fix path to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
daknhh committed Sep 2, 2024
1 parent 6826a3d commit 524dfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/constructs/waf_Dashboard/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const REGION = cdk.Aws.REGION;
/**
* Version of the AWS Firewall Factory - extracted from package.json
*/
const packageJsonPath = path.resolve(__dirname, "../../package.json");
const packageJsonPath = path.resolve(__dirname, "../../../package.json");
const packageJsonContent = fs.readFileSync(packageJsonPath, "utf-8");
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const packageJson = JSON.parse(packageJsonContent);
Expand Down

0 comments on commit 524dfa3

Please sign in to comment.