Closed GuilhermeReda closed 6 years ago
Hi, I have a file with the following code.
`SELECT nextval('${this.options.schema ? `${this.options.schema}.` : ''}"${this.tableName}_${this.autoIncrementField}_seq"'::regclass ) nextval;`
When I format the file, that line becomes
`SELECT nextval('${this.options.schema ? ` $ { this.options.schema }. ` : ''}"${this.tableName}_${this.autoIncrementField}_seq"'::regclass ) nextval;`
it is putting a space between $ and {, and that breaks my code.
this does not appear to be happening anymore. re-open if necessary. I think you may have had some errant backticks in your example as well, but I'm not sure.
Hi, I have a file with the following code.
When I format the file, that line becomes
it is putting a space between $ and {, and that breaks my code.