Set the filename as HTML name instead of full path for scripting (#4477)

This commit is contained in:
Peter Hedenskog 2025-03-11 09:06:32 +01:00 committed by GitHub
parent dcc380ef9f
commit dec8a89c82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ export async function run(options) {
resultUrls, resultUrls,
timestamp, timestamp,
budget: budgetResult, budget: budgetResult,
name: url, name: url.startsWith('http') ? url : path.basename(url),
log, log,
getLogger, getLogger,
messageMaker, messageMaker,