Improve repl autocorrect and error handling

* Combine comparison algorithims for autocorrect

* clear zephyr functions

* remove redundant comments because co-pilot is stupid and i probably will never try to use it again

* implement basic tab completion

* fix unused items

* Make workflow check code quality

* split code quality into its own file

* make action fail on bad formatting

* change workflow to nightly

* f it, code quality is considered breaking

* fix forgetting to set toolchain back to nightly when rewriting workflow (😔)

* Add condition for too little arguments

* run cargo fmt

* remove unneeded feature directive
This commit is contained in:
Chance 2024-12-09 20:28:28 -05:00 committed by BitSyndicate
parent 55ed41ee73
commit 497953f758
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
8 changed files with 170 additions and 42 deletions

View file

@ -30,7 +30,6 @@ impl DynamicLogger {
pub fn write_to_file(&self, file_path: &str) {
let file = OpenOptions::new()
.create(true)
.append(true)
.open(file_path)
.expect("Failed to open log file");