Skip to content

Commit

Permalink
Replace interpolated string pattern with regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Jan 13, 2025
1 parent 2c5c001 commit bc26ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/src/rubyLsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ export class RubyLsp {
delete newConfig.useBundler;

const command = (newConfig.command || "").replace(
"${workspaceRoot}/",
/\$\{workspaceRoot\}\//,
"",
);
const script = newConfig.script || "";
Expand Down

0 comments on commit bc26ab0

Please sign in to comment.