Skip to content

Commit f4c0785

Browse files
RyanDJLeeclaude
andcommitted
Fix prettier formatting for scope split chain
Collapse split/filter chain to single line to satisfy prettier. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ba9ee48 commit f4c0785

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • packages/cli/src/cli/services/store/auth

packages/cli/src/cli/services/store/auth/scopes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import {outputContent, outputDebug} from '@shopify/cli-kit/node/output'
33
import type {StoreTokenResponse} from './token-client.js'
44

55
export function parseStoreAuthScopes(input: string): string[] {
6-
const scopes = input
7-
.split(/[ ,]+/)
8-
.filter(Boolean)
6+
const scopes = input.split(/[ ,]+/).filter(Boolean)
97

108
if (scopes.length === 0) {
119
throw new AbortError('At least one scope is required.', 'Pass --scopes as a comma-separated list.')

0 commit comments

Comments
 (0)