diff --git a/src/bot/parse/parsePullRequestBotCommandLine.namedArgs.spec.ts b/src/bot/parse/parsePullRequestBotCommandLine.namedArgs.spec.ts index 9b58302..7da5a91 100644 --- a/src/bot/parse/parsePullRequestBotCommandLine.namedArgs.spec.ts +++ b/src/bot/parse/parsePullRequestBotCommandLine.namedArgs.spec.ts @@ -278,14 +278,14 @@ const dataProvider: DataProvider[] = [ suitName: "non existed config must return error with explanation", commandLine: "bot bench $ pallet dev some_pallet", expectedResponse: new Error( - `Positioned arguments are not supported anymore. I guess you meant \`bot bench polkadot-pallet --pallet=pallet_name\`, but I could be wrong.\n[Read docs](http://cmd-bot.docs.com/static/docs/latest.html) to find out how to run your command.`, + `Positional arguments are not supported anymore. I guess you meant \`bot bench polkadot-pallet --pallet=pallet_name\`, but I could be wrong.\n[Read docs](http://cmd-bot.docs.com/static/docs/latest.html) to find out how to run your command.`, ), }, { suitName: "non existed config must return error with explanation", commandLine: "bot bench-overhead $ kusama", expectedResponse: new Error( - `Positioned arguments are not supported anymore. I guess you meant \`bot bench-overhead --runtime=kusama\`, but I could be wrong.\n[Read docs](http://cmd-bot.docs.com/static/docs/latest.html) to find out how to run your command.`, + `Positional arguments are not supported anymore. I guess you meant \`bot bench-overhead --runtime=kusama\`, but I could be wrong.\n[Read docs](http://cmd-bot.docs.com/static/docs/latest.html) to find out how to run your command.`, ), }, ]; diff --git a/src/bot/parse/parsePullRequestBotCommandLine.ts b/src/bot/parse/parsePullRequestBotCommandLine.ts index 40973ce..c6e5c93 100644 --- a/src/bot/parse/parsePullRequestBotCommandLine.ts +++ b/src/bot/parse/parsePullRequestBotCommandLine.ts @@ -28,7 +28,7 @@ export const parsePullRequestBotCommandLine = async ( const guesswork = await guessCommand(ctx, commandLine, repo); const suggestMessage = guesswork ? `I guess you meant \`${guesswork}\`, but I could be wrong.` : ""; return new Error( - `Positioned arguments are not supported anymore. ${suggestMessage}\n[Read docs](${docsPath}) to find out how to run your command.`, + `Positional arguments are not supported anymore. ${suggestMessage}\n[Read docs](${docsPath}) to find out how to run your command.`, ); }