Skip to content

Commit

Permalink
feat: add images grade
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Nov 29, 2023
1 parent 6a942bf commit 598d9d1
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 7 deletions.
Binary file added assets/Note-A.webp
Binary file not shown.
Binary file added assets/Note-B.webp
Binary file not shown.
Binary file added assets/Note-C.webp
Binary file not shown.
Binary file added assets/Note-D.webp
Binary file not shown.
Binary file added assets/Note-E.webp
Binary file not shown.
Binary file added assets/Note-F.webp
Binary file not shown.
Binary file added assets/Note-G.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/test-new-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"version": "node lighthouse-plugin-ecoindex/cli/index.js --version",
"help": "node lighthouse-plugin-ecoindex/cli/index.js --help",
"collect:help": "node lighthouse-plugin-ecoindex/cli/index.js collect --help",
"collect:urls": "node lighthouse-plugin-ecoindex/cli/index.js collect --url http://www.ecoindex.fr/",
"collect:urls": "node lighthouse-plugin-ecoindex/cli/index.js collect --url http://www.ecoindex.fr/ --url https://www.ecoindex.fr/comment-ca-marche/",
"collect:demo": "node lighthouse-plugin-ecoindex/cli/index.js collect --demo"
},
"keywords": [],
"author": "",
"license": "ISC"
}
}
14 changes: 9 additions & 5 deletions lighthouse-plugin-ecoindex/cli/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ const SEPARATOR = '\n---------------------------------\n'

async function runCourse(urls, cliFlags, course = undefined) {
console.log(SEPARATOR)
console.log(
`${logSymbols.info} Mesure(s) start${
course.name ? ', course: ' + course.name : ''
} 🚀`,
)
if (course) {
console.log(
`${logSymbols.info} Mesure(s) start${
course.name ? ', course: ' + course.name : ''
} 🚀`,
)
} else {
console.log(`${logSymbols.info} Mesure(s) start 🚀`)
}

// Launch a headless browser.
const browser = await puppeteer.launch(getPuppeteerConfig)
Expand Down

0 comments on commit 598d9d1

Please sign in to comment.