Skip to content

Commit 17fc5a1

Browse files
committed
chore(scripts): update get urls script for new patterns
1 parent 7a83b37 commit 17fc5a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/utils/src/presets/recommended.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
'document-title': ['error', {}],
6666
'dom-size': ['error', {}],
6767
'duplicate-id': ['error', {}],
68-
'errors-in-console': ['error', {}],
68+
'errors-in-console': ['error', {maxLength: 0}],
6969
'external-anchors-use-rel-noopener': ['error', {}],
7070
'font-display': ['error', {}],
7171
'font-size': ['error', {}],

scripts/ci-dogfood-get-urls.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ async function main() {
2121
process.stdout.write(
2222
[
2323
new URL(`/app`, rootURL),
24-
new URL(`/app/projects/${project.id}`, rootURL),
25-
new URL(`/app/projects/${project.id}/builds/${build.id}`, rootURL),
24+
new URL(`/app/projects/${project.slug}`, rootURL),
25+
new URL(`/app/projects/${project.slug}/compare/${build.id.split('-')[0]}`, rootURL),
2626
].join('\n')
2727
);
2828

0 commit comments

Comments
 (0)