-
Notifications
You must be signed in to change notification settings - Fork 463
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
Remove jsx mode #7327
Remove jsx mode #7327
Conversation
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.
Great job! Maybe @cristianoc would like to eye this one quickly as well?
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.
Looks great. Just do double check: -bs-jsx-mode
is never use-facing right? Otherwise it could be kept on the command-line and made no-op.
Perhaps rewatch?
Ah yes:
pub fn get_jsx_mode_args(&self) -> Vec<String> {
match self.jsx.to_owned() {
Some(jsx) => match jsx.mode {
Some(JsxMode::Classic) => {
vec!["-bs-jsx-mode".to_string(), "classic".to_string()]
}
Some(JsxMode::Automatic) => {
vec!["-bs-jsx-mode".to_string(), "automatic".to_string()]
}
None => vec![],
},
_ => vec![],
}
}
I didn't change the Rust code here, because I assume we sync it from another place. |
|
Rewatch adds it when it runs |
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.
Looks great!
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.
Great work! 👍
See comment