Skip to content

Commit

Permalink
fix(fmt): add missing quotation mark for add_schema_to_schemas (pri…
Browse files Browse the repository at this point in the history
  • Loading branch information
Druue authored Oct 6, 2023
1 parent d70b584 commit 07c8014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prisma-fmt/src/code_actions/multi_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub(super) fn add_schema_to_schemas(

let edit = match datasource.schemas_span {
Some(span) => {
let formatted_attribute = format!(r#", "{}""#, model.schema_name().unwrap());
let formatted_attribute = format!(r#"", "{}""#, model.schema_name().unwrap());
super::create_text_edit(
schema,
formatted_attribute,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"character": 28
}
},
"newText": ", \"base\""
"newText": "\", \"base\""
}
]
}
Expand Down

0 comments on commit 07c8014

Please sign in to comment.