Skip to content

Commit 2b3875d

Browse files
committed
address copilot feedback
1 parent cd97cea commit 2b3875d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/dsc-lib/locales/en-us.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,6 @@ parsingIndexAccessor = "Parsing index accessor: %{index}"
560560
indexNotFound = "Index value not found"
561561
indexValue = "Index value: %{value} with kind %{kind}"
562562
propertyNameValue = "Property name value: %{value}"
563-
invalidPropertyName = "Invalid property name"
564563
invalidIndexValueKind = "Invalid index value kind: %{kind}"
565564
invalidAccessorKind = "Invalid accessor kind: %{kind}"
566565
functionResult = "Function results: %{results}"

lib/dsc-lib/src/parser/expressions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub struct Expression {
2727

2828
fn node_to_string(node: &Node, statement_bytes: &[u8]) -> Result<String, DscError> {
2929
let text = node.utf8_text(statement_bytes)?;
30-
Ok(text.trim_matches('\'').to_string())
30+
Ok(text.to_string())
3131
}
3232

3333
impl Expression {

0 commit comments

Comments
 (0)