Skip to content

Commit ab27fde

Browse files
committed
Merge branch 'main' into stuartpa/choco-v0.15.0-package
2 parents 0386dfa + 53b6fe7 commit ab27fde

File tree

163 files changed

+150173
-4206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+150173
-4206
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
[*.go]
5+
indent_style = tab
6+
# (Please don't specify an indent_size here; that has too many unintended consequences.)
7+
8+
# IDE0073: File header
9+
file_header_template = Copyright (c) Microsoft Corporation.\nLicensed under the MIT license.

.pipelines/include-install-go-tools.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ steps:
88
command: 'get'
99
arguments: '-d'
1010
workingDirectory: '$(Build.SourcesDirectory)/cmd/sqlcmd'
11-
12-
11+
1312
- task: Go@0
1413
displayName: 'Go: install gotest.tools/gotestsum'
1514
inputs:

.vscode/launch.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
"version": "0.2.0",
66
"configurations": [
77

8-
9-
108
{
119

1210
"name": "Attach to Process",
@@ -26,7 +24,7 @@
2624
"request": "launch",
2725
"mode" : "auto",
2826
"program": "${workspaceFolder}/cmd/modern",
29-
"args" : ["-Q", "EXIT(select net_transport from sys.dm_exec_connections)"],
27+
"args" : ["-S", "davidshi-2022", "-g", "-Q", "select nvarcharcol from encrypt.dbo.encrypted", "--driver-logging-level=65"],
3028
},
3129
{
3230
"name" : "Run file query",
@@ -36,5 +34,14 @@
3634
"program": "${workspaceFolder}/cmd/modern",
3735
"args" : ["-S", "np:.", "-i", "${workspaceFolder}/cmd/sqlcmd/testdata/select100.sql"],
3836
},
37+
{
38+
"name" : "Run sqlcmdlinter",
39+
"type" : "go",
40+
"request" : "launch",
41+
"mode" : "auto",
42+
"program": "${workspaceFolder}/cmd/sqlcmd-linter",
43+
"args" : ["${workspaceFolder}/..."]
44+
45+
}
3946
]
4047
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"go.lintTool": "golangci-lint",
3+
"go.lintOnSave": "workspace"
4+
}

0 commit comments

Comments
 (0)