We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7cca12 commit aec679eCopy full SHA for aec679e
apps/oxlint/src/tsgolint.rs
@@ -104,10 +104,14 @@ impl<'a> TsGoLintState<'a> {
104
.stdout(std::process::Stdio::piped())
105
.spawn();
106
107
- let Ok(mut child) = child else {
108
- // For now, silently ignore errors if `tsgolint` does not appear to be installed, or cannot
109
- // be spawned correctly.
110
- return Ok(());
+ let mut child = match child {
+ Ok(c) => c,
+ Err(e) => {
+ return Err(format!(
111
+ "Failed to spawn tsgolint from path `{}`, with error: {e}",
112
+ self.executable_path
113
+ ));
114
+ }
115
};
116
117
let mut stdin = child.stdin.take().expect("Failed to open tsgolint stdin");
0 commit comments