mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
93e48f74e9
commit
b92eb59aed
2 changed files with 42 additions and 41 deletions
81
dist/setup/index.js
generated
vendored
81
dist/setup/index.js
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -24,7 +24,7 @@ export function parseRegistries(input: string): Registry[] {
|
||||||
|
|
||||||
function parseLine(line: string): Registry | null {
|
function parseLine(line: string): Registry | null {
|
||||||
const scopeMatch = line.match(
|
const scopeMatch = line.match(
|
||||||
/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i
|
/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (scopeMatch) {
|
if (scopeMatch) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue