Skip to content

Commit f176ea5

Browse files
committed
chore: add a comment to a method
1 parent 304014c commit f176ea5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli.js

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ const createApp = async (destDir, lang) => {
8989
fs.copyFileSync(`${__dirname}/templates/app.${ext}`, resultFile)
9090
};
9191

92+
// "-- comment\nSELECT * FROM foo" => "SELECT * FROM foo"
9293
const removeComments = (query) => query.replace(/--.*\n/g, '');
9394

9495
// "SELECT *\n FROM foo" => "SELECT * FROM foo"

0 commit comments

Comments
 (0)