File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export function functionIdsAreValid(functions: { id: string; platform: string }[
38
38
} ) ;
39
39
if ( invalidV1Ids . length !== 0 ) {
40
40
const msg =
41
- `${ invalidV1Ids . join ( ", " ) } function name(s) can only contain letters, ` +
41
+ `${ invalidV1Ids . map ( ( f ) => f . id ) . join ( ", " ) } function name(s) can only contain letters, ` +
42
42
`numbers, hyphens, and not exceed 62 characters in length` ;
43
43
throw new FirebaseError ( msg ) ;
44
44
}
@@ -49,7 +49,7 @@ export function functionIdsAreValid(functions: { id: string; platform: string }[
49
49
} ) ;
50
50
if ( invalidV2Ids . length !== 0 ) {
51
51
const msg =
52
- `${ invalidV2Ids . join ( ", " ) } v2 function name(s) can only contin lower ` +
52
+ `${ invalidV2Ids . map ( ( f ) => f . id ) . join ( ", " ) } v2 function name(s) can only contin lower ` +
53
53
`case letters, numbers, hyphens, and not exceed 62 characters in length` ;
54
54
throw new FirebaseError ( msg ) ;
55
55
}
You can’t perform that action at this time.
0 commit comments