You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TopiaryConfigError::FileNotFound(path) => write!(f,"We tried to find your configuration file at {}, but failed to do so. Make sure the file exists.", path.to_string_lossy()),
40
-
TopiaryConfigError::UnknownLanguage(lang) => write!(f,"You were looking for language \"{lang}\", but we do not know that language."),
41
-
TopiaryConfigError::UnknownExtension(ext) => write!(f,"You tried to format a file with extension: \"{ext}\", but we do not know that extension. Make sure the extension is in your configuration file!"),
42
-
TopiaryConfigError::NoExtension(path) => write!(f,"You tried to format {} without specifying a language, but we cannot automatically detect the language because we can't find the filetype extension.", path.to_string_lossy()),
39
+
TopiaryConfigError::FileNotFound(path) => write!(
40
+
f,
41
+
"We tried to find your configuration file at {}, but failed to do so. Make sure the file exists.",
"You tried to format a file with extension: \"{ext}\", but we do not know that extension. Make sure the extension is in your configuration file!"
51
+
),
52
+
TopiaryConfigError::NoExtension(path) => write!(
53
+
f,
54
+
"You tried to format {} without specifying a language, but we cannot automatically detect the language because we can't find the filetype extension.",
55
+
path.to_string_lossy()
56
+
),
43
57
#[cfg(not(target_arch = "wasm32"))]
44
-
TopiaryConfigError::QueryFileNotFound(path) => write!(f,"We could not find the query file: \"{}\" anywhere. If you use the TOPIARY_LANGUAGE_DIR environment variable, make sure it set set correctly.", path.to_string_lossy()),
0 commit comments