Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
applicability as maybeincorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Aug 10, 2022
1 parent c0f2624 commit df5fa3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ impl Rule for NoUnusedVariables {

Some(JsRuleAction {
category: ActionCategory::QuickFix,
applicability: Applicability::Unspecified,
applicability: Applicability::MaybeIncorrect,
message: markup! { "Remove this " {symbol_type} "." }.to_owned(),
mutation: batch,
})
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_service/src/configuration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ pub fn load_config(
file_system: &DynRef<dyn FileSystem>,
) -> Result<Option<Configuration>, RomeError> {
let config_name = file_system.config_name();
println!("Config: {:?}", config_name);
let configuration_path = PathBuf::from(config_name);
let options = OpenOptions::default().read(true).write(true);
let file = file_system.open_with_options(&configuration_path, options);

match file {
Ok(mut file) => {
let mut buffer = String::new();
Expand Down

0 comments on commit df5fa3c

Please sign in to comment.