Skip to content

Commit 0812af9

Browse files
committed
VSCode whitespace changes
(Whenever I save a file in VSCode it automatically trims trailing whitespace. i'm committing this as a separate commit to make the diff easier in the next commit.)
1 parent 5e5c019 commit 0812af9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

client/src/sdk/LocalConnection.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ class LocalConnection extends Connection {
2929
if (typeof dbname === 'undefined' || dbname === '') {
3030
throw new Error('Must provide `dbname`.')
3131
}
32-
32+
3333
// Set _dbname
3434
this._dbname = dbname
3535
}
36-
36+
3737
/**
3838
* Get name of database
3939
*/
@@ -58,13 +58,13 @@ class LocalConnection extends Connection {
5858

5959
let action = new sdk.CardinalityAction()
6060
action.type = 'CardinalityAction'
61-
61+
6262
if (typeof relname !== 'undefined' && relname !== '') {
6363
action.relname = relname
6464
}
6565

6666
this.runAction(action)
67-
.then(res => {
67+
.then(res => {
6868
const tr = res.transactionResult;
6969
const result = tr.actions[0].result.result;
7070
const problems = tr.problems;
@@ -109,7 +109,7 @@ class LocalConnection extends Connection {
109109
}
110110

111111
return new Promise((resolve, reject) => {
112-
let action = new sdk.ModifyWorkspaceAction()
112+
let action = new sdk.ModifyWorkspaceAction()
113113
action.type = 'ModifyWorkspaceAction'
114114
action.delete_source = []
115115
action.delete_source.push(sourceName)
@@ -162,7 +162,7 @@ class LocalConnection extends Connection {
162162
* @return {Object} - {rels, problems}
163163
*/
164164
list_edb(relname) {
165-
return new Promise((resolve, reject) => {
165+
return new Promise((resolve, reject) => {
166166
let action = new sdk.ListEdbAction()
167167
action.type = 'ListEdbAction'
168168

@@ -208,13 +208,13 @@ class LocalConnection extends Connection {
208208
* referenced by `this`
209209
*/
210210
//load_csv() {}
211-
211+
212212
/**
213213
* Load a JSON file *local* to the Delve Server
214214
* referenced by `this`
215215
*/
216216
//load_json() {}
217-
217+
218218
/**
219219
* Query a local Delve server
220220
* @param {Object} params - User specified override values.
@@ -237,12 +237,12 @@ class LocalConnection extends Connection {
237237
action.source = new sdk.Source()
238238
action.source.value = params.query || ''
239239
action.source.type = 'Source'
240-
240+
241241
action.outputs = []
242242
action.outputs.push(params.out)
243-
243+
244244
action.source.name = params.name || 'query'
245-
action.source.path = params.path || ''
245+
action.source.path = params.path || ''
246246
action.inputs = params.inputs || []
247247
action.persist = params.persist || []
248248
action.type = 'QueryAction'
@@ -251,7 +251,7 @@ class LocalConnection extends Connection {
251251
if (params.hasOwnProperty('persist') && params.persist.length > 0) {
252252
txnParams.isReadOnly = false
253253
}
254-
254+
255255
this.runAction(action, txnParams)
256256
.then(res => {
257257
const tr = res.transactionResult;

0 commit comments

Comments
 (0)