Skip to content

Commit 3635d46

Browse files
committed
fix: fix update-to-latest
1 parent ec7104d commit 3635d46

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/generate-changelog.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import path from 'node:path';
33

44
import simpleGit from 'simple-git';
55

6+
const __dirname = import.meta.dirname;
67
const maxCommitsInChangelog = 400;
78

89
let results = '';

scripts/update-to-latest.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ js_protocol_url="https://chromium.googlesource.com/v8/v8.git/+/${v8_revision}/in
3131

3232
if 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

0 commit comments

Comments
 (0)