Skip to content

Commit dfeef5e

Browse files
committed
Fix indenting on devproxy-mock and devproxy-mocks-file snippets
Closes #29
1 parent c07ed92 commit dfeef5e

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

src/snippets.json

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"body": [
2323
"{",
2424
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/mockresponseplugin.schema.json\",",
25-
"\t\"mocks\": [$1]",
25+
"\t\"mocks\": [",
26+
"\t\t$1",
27+
"\t]",
2628
"}"
2729
],
2830
"description": "Dev Proxy mocks file"
@@ -32,18 +34,19 @@
3234
"body": [
3335
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/mockresponseplugin.schema.json\","
3436
],
35-
"description": "Dev Proxy mocks file schema"
37+
"description": "Dev Proxy mocks file schema"
3638
},
3739
"Mock": {
3840
"prefix": "devproxy-mock",
3941
"body": [
40-
"\r",
41-
"\t{",
42-
"\t\t\"request\": {",
43-
"\t\t\t\"url\": \"$1\"",
44-
"\t\t},",
45-
"\t\t\"response\": {$2}",
46-
"\t}\r"
42+
"{",
43+
"\t\"request\": {",
44+
"\t\t\"url\": \"$1\"",
45+
"\t},",
46+
"\t\"response\": {",
47+
"\t\t$2",
48+
"\t}",
49+
"}"
4750
],
4851
"description": "Dev Proxy mock"
4952
},
@@ -52,7 +55,7 @@
5255
"body": [
5356
"\t\"request\": {",
5457
"\t\t\"url\": \"$1\"",
55-
"\t},",
58+
"\t},",
5659
"\t\"response\": {$2}",
5760
"}"
5861
],
@@ -465,7 +468,7 @@
465468
"MockResponsePluginFileSchema": {
466469
"prefix": "devproxy-plugin-mock-response-schema",
467470
"body": [
468-
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/mockresponseplugin.schema.json\","
471+
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/mockresponseplugin.schema.json\","
469472
],
470473
"description": "MockResponsePlugin schema"
471474
},

0 commit comments

Comments
 (0)