We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2af9e89 + 95a597e commit 1955313Copy full SHA for 1955313
src/init.rs
@@ -74,7 +74,7 @@ pub fn init() -> Result<()> {
74
75
let workspace_manifest_content = fs::read_to_string(&workspace_manifest)
76
.with_context(|| format!("Failed to read the file {}", workspace_manifest.display()))?;
77
- if !workspace_manifest_content.contains("[workspace]\n")
+ if !workspace_manifest_content.contains("[workspace]")
78
&& !workspace_manifest_content.contains("workspace.")
79
{
80
bail!(
0 commit comments