Skip to content

Commit 5fa361b

Browse files
committed
Clarify RunTag parsing documentation
1 parent 65d151e commit 5fa361b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/app/components/runs/v3/RunTag.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export function RunTag({ tag }: { tag: string }) {
3232

3333
/** Takes a string and turns it into a tag
3434
*
35-
* Returns an object with key/value if the string starts with 1-12 alphanumeric characters
36-
* followed by a colon or underscore. Otherwise returns the original string.
35+
* If the string has 12 or fewer alpha characters followed by an underscore or colon then we return an object with a key and value
36+
* Otherwise we return the original string
3737
*
3838
* Special handling for common ID formats and values with special characters.
3939
*/

0 commit comments

Comments
 (0)