diff --git a/report/generator/flow-report-assets.js b/report/generator/flow-report-assets.js index 1850c7424def..5b1e05204a19 100644 --- a/report/generator/flow-report-assets.js +++ b/report/generator/flow-report-assets.js @@ -11,6 +11,10 @@ import {getModuleDirectory} from '../../shared/esm-utils.js'; const moduleDir = getModuleDirectory(import.meta); +console.log('flow-report', fs.readdirSync(`${moduleDir}/../../flow-report/`)); +console.log('flow-report/assets', fs.readdirSync(`${moduleDir}/../../flow-report/assets`)); + + /* eslint-disable max-len */ const FLOW_REPORT_TEMPLATE = fs.readFileSync(`${moduleDir}/../../flow-report/assets/standalone-flow-template.html`, 'utf8'); const REGULAR_REPORT_CSS = fs.readFileSync(moduleDir + '/../assets/styles.css', 'utf8'); @@ -18,8 +22,7 @@ const FLOW_REPORT_CSS = fs.readFileSync(`${moduleDir}/../../flow-report/assets/s const FLOW_REPORT_JAVASCRIPT = fs.readFileSync(`${moduleDir}/../../dist/report/flow.js`, 'utf8'); /* eslint-enable max-len */ -const files = fs.readdirSync(`${moduleDir}/../../flow-report/`); -console.log({files}); + export const flowReportAssets = {