Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ function getAdminConfig(extensions: ExtensionInstance[]): AdminConfig | undefine
const adminExtension = extensions.find((ext) => ext.type === 'admin')
if (!adminExtension) return undefined
const admin = (adminExtension.configuration as AdminConfigType).admin

console.log('..........getAdminConfig........')

Copilot AI Apr 16, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using console.log in CLI code paths. This bypasses the CLI output system (e.g., outputDebug/concurrent output context), makes logs hard to control, and can pollute user output/tests. Please remove this debug log, or if you truly need it, route it through outputDebug from @shopify/cli-kit/node/output at an appropriate call site where you have access to stdout/stderr.

Suggested change
console.log('..........getAdminConfig........')
outputDebug('..........getAdminConfig........')

Copilot uses AI. Check for mistakes.

return {
allowedDomains: admin?.allowed_domains ?? [],
staticRoot: admin?.static_root,
Expand Down
Loading