Skip to content

Commit

Permalink
update: readme logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmukesh23 committed Dec 18, 2024
1 parent 9d42750 commit 1638ef5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion update-readme.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/* eslint-disable no-undef */
import fs from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';

// Get the current directory using import.meta.url
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

// Path to the Lighthouse report
const reportPath = path.join(__dirname, 'lhci-report', 'latest-report.json');
Expand Down

0 comments on commit 1638ef5

Please sign in to comment.