-
Notifications
You must be signed in to change notification settings - Fork 415
feat(firestore-bigquery-exports) add an option to skip BigQuery init steps #2469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -65,5 +65,9 @@ export const getCLIOptions = () => { | |||||||||||
.option( | ||||||||||||
"-f, --failed-batch-output <file>", | ||||||||||||
"Path to the JSON file where failed batches will be recorded." | ||||||||||||
) | ||||||||||||
.option( | ||||||||||||
"--skip-init [true|false]", | ||||||||||||
"Whether to skip BigQuery init steps." | ||||||||||||
Comment on lines
+70
to
+71
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The option syntax
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||
); | ||||||||||||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
program.skipInit
value needs to be properly converted to a boolean. Commander.js may return a string or undefined for optional boolean arguments, which could cause issues. Consider usingprogram.skipInit === true || program.skipInit === 'true'
or similar boolean conversion.Copilot uses AI. Check for mistakes.