Clear failed installation task when error threshold gets exceeded

This commit is contained in:
Kirill Bulatov 2023-11-28 23:12:46 +02:00
parent acd1aec862
commit 96f6b89508
2 changed files with 21 additions and 8 deletions

View file

@ -34,7 +34,7 @@ pub struct TestPrettier {
default: bool,
}
pub const LAUNCH_THRESHOLD: usize = 5;
pub const FAIL_THRESHOLD: usize = 4;
pub const PRETTIER_SERVER_FILE: &str = "prettier_server.js";
pub const PRETTIER_SERVER_JS: &str = include_str!("./prettier_server.js");
const PRETTIER_PACKAGE_NAME: &str = "prettier";