Skip to content

Commit

Permalink
fix: remove warnings about manifest file
Browse files Browse the repository at this point in the history
These warnings were printing to stdout, which causes problems when
interacting with VSCode via the LSP (communication over stdin/stdout).
  • Loading branch information
obycode committed Apr 21, 2022
1 parent bd830f9 commit 49edfd4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/types/project_manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,9 @@ impl ProjectManifest {

// Check for deprecated settings
if let Some(passes) = project_manifest_file.project.analysis {
println!(
"{}: use of 'project.analysis' in Clarinet.toml is deprecated; use repl.analysis.passes",
yellow!("warning")
);
repl_settings.analysis.set_passes(passes);
}
if let Some(costs_version) = project_manifest_file.project.costs_version {
println!(
"{}: use of 'project.costs_version' in Clarinet.toml is deprecated; use repl.costs_version",
yellow!("warning")
);
repl_settings.costs_version = costs_version;
}

Expand Down

0 comments on commit 49edfd4

Please sign in to comment.