summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/utils/commandUtils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/utils/commandUtils.ts')
-rw-r--r--packages/cli/src/ui/utils/commandUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/utils/commandUtils.ts b/packages/cli/src/ui/utils/commandUtils.ts
index 4f731bb3..89e207d9 100644
--- a/packages/cli/src/ui/utils/commandUtils.ts
+++ b/packages/cli/src/ui/utils/commandUtils.ts
@@ -12,7 +12,7 @@
* @param query The input query string.
* @returns True if the query looks like an '@' command, false otherwise.
*/
-export const isPotentiallyAtCommand = (query: string): boolean =>
+export const isAtCommand = (query: string): boolean =>
// Check if starts with @ OR has a space, then @, then a non-space character.
query.startsWith('@') || /\s@\S/.test(query);