From ee735b30ac9c0802006e5c6327ae0b74b5ff4b05 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 20 Mar 2024 11:46:04 +0100 Subject: [PATCH] Update CLI docs link (#2294) This updates the link in CLI error messages to point to `docs.metamask.io` instead of GitHub. --- packages/snaps-cli/src/config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/snaps-cli/src/config.ts b/packages/snaps-cli/src/config.ts index 2704c3064a..4c5c8afe82 100644 --- a/packages/snaps-cli/src/config.ts +++ b/packages/snaps-cli/src/config.ts @@ -720,8 +720,7 @@ export type ProcessedConfig = ProcessedWebpackConfig; export function getConfig(config: unknown, argv: YargsArgs): ProcessedConfig { const prefix = 'The snap config file is invalid'; const suffix = dim( - // TODO: Link to `docs.metamask.io` once the docs are published. - 'Refer to the documentation for more information: https://github.com/MetaMask/snaps/tree/main/packages/snaps-cli/', + 'Refer to the documentation for more information: https://docs.metamask.io/snaps/reference/cli/options/', ); const { bundler } = createFromStruct(