summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Neuschild <eneuschild@gmail.com>2020-10-27 21:58:09 +0100
committerGitHub <noreply@github.com>2020-10-27 16:58:09 -0400
commit6c2c521ba5f557ed3ed6117dd6801f6d69cc1e6d (patch)
tree963287be42703848cfc754f7c52fa842bd3af937
parentbb89fa1aaa3adadc5e520b56cfe71fc346a6a137 (diff)
downloadgitea-6c2c521ba5f557ed3ed6117dd6801f6d69cc1e6d.tar.gz
gitea-6c2c521ba5f557ed3ed6117dd6801f6d69cc1e6d.zip
fix quotation marks in launch.json (#13325)
Co-authored-by: zeripath <art27@cantab.net>
-rw-r--r--contrib/ide/vscode/launch.json2
-rw-r--r--contrib/ide/vscode/settings.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ide/vscode/launch.json b/contrib/ide/vscode/launch.json
index 6e90aa0eaa..10df14ef37 100644
--- a/contrib/ide/vscode/launch.json
+++ b/contrib/ide/vscode/launch.json
@@ -19,7 +19,7 @@
"type": "go",
"request": "launch",
"mode": "debug",
- "buildFlags": "-tags=\"sqlite sqlite_unlock_notify\"",
+ "buildFlags": "-tags='sqlite sqlite_unlock_notify'",
"port": 2345,
"host": "127.0.0.1",
"program": "${workspaceRoot}/main.go",
diff --git a/contrib/ide/vscode/settings.json b/contrib/ide/vscode/settings.json
new file mode 100644
index 0000000000..e33bccf902
--- /dev/null
+++ b/contrib/ide/vscode/settings.json
@@ -0,0 +1,4 @@
+{
+ "go.buildTags": "'sqlite sqlite_unlock_notify'",
+ "go.testFlags": ["-v"]
+} \ No newline at end of file