firebase / firebase/firebase-tools
Issue publishing extension with 'number' type for extension.yaml param
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
Using `number` param type works in emulator and when deploying, but publishing does not.
### [REQUIRED] Environment info
**firebase-tools:** 14.11.0
**Platform:** macOS
### [REQUIRED] Steps to reproduce
Publish an extension with a param with type of `number` (in extension.yaml)
### [REQUIRED] Expected behavior
Publishes.
### [REQUIRED] Actual behavior
Fails
```
Error: The extension.yaml has the following errors:
- Invalid type number for param BACKFILL_BATCH_SIZE. Valid types are select, multiSelect, string, selectResource, secret
+ EXIT_CODE=1
+ set -e
+ echo 'Exit code: 1'
Exit code: 1
+ '[' 1 -eq 0 ']'
+ '[' 1 -eq 103 ']'
+ '[' 1 -eq 104 ']'
+ exit 1
```
Contributor guide
Assessment
This issue has not been assessed yet.