File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import path from 'node:path';
33
44import simpleGit from 'simple-git' ;
55
6+ const __dirname = import . meta. dirname ;
67const maxCommitsInChangelog = 400 ;
78
89let results = '' ;
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ js_protocol_url="https://chromium.googlesource.com/v8/v8.git/+/${v8_revision}/in
3131
3232if curl --output /dev/null --silent --head --fail " $browser_protocol_domains_url " ; then
3333 # the 4th column is the file name in the folder (e.g., DOM.pdl).
34- domains=$( curl --silent " ${browser_protocol_domains_url} " | base64 --decode | grep .pdl | awk " {print $4 }" )
34+ domains=$( curl --silent " ${browser_protocol_domains_url} " | base64 --decode | grep .pdl | awk " {print \$ 4}" )
35+ mkdir -p pdl/domains
3536 for domain in $domains ; do
3637 browser_protocol_domain_url=" https://chromium.googlesource.com/chromium/src.git/+/${commit_sha} /third_party/blink/public/devtools_protocol/domains/$domain ?format=TEXT"
3738 curl --silent " ${browser_protocol_domain_url} " | base64 --decode > pdl/domains/$domain
You can’t perform that action at this time.
0 commit comments