We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c66cb commit ed12c6aCopy full SHA for ed12c6a
1 file changed
index.js
@@ -50,7 +50,7 @@ exports.wrapSequelize = (sequelize) => {
50
// Allow only alphanumeric, periods, slashes, dashes, underscores,
51
// spaces, newlines. The main concern is preventing injection of '*/
52
// within the stacktrace.
53
- const commentStr = `stacktrace='${makeMinimalUsefulStacktrace()}'`.replace(/[^\w.:/\\\-\s\n]/g, '');
+ const commentStr = `stacktrace='${makeMinimalUsefulStacktrace().replace(/[^\w.:/\\\-\s\n]/g, '')}'`;
54
55
if (commentStr && commentStr.length > 0)
56
sql = `${sql} /*${commentStr}*/`;
0 commit comments