Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Commit

Permalink
🐛 Fixed issue with multiple instances of oledb using the same connect…
Browse files Browse the repository at this point in the history
…ion string.
  • Loading branch information
mike-eason committed Jan 10, 2017
1 parent 592c532 commit 7ab44b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
const edge = require('edge');
const data = edge.func(__dirname + '/Data.cs');

let connectionString;

module.exports = function(constring) {
if (constring == null || constring.trim() === '')
throw 'constring must not be null or empty';

connectionString = constring;
let connectionString = constring;

function executePromise(command, type) {
return new Promise(function(resolve, reject) {
Expand Down

0 comments on commit 7ab44b5

Please sign in to comment.