Commit d4c56d42 by Richard Hansen Committed by Kewde

Run `npx eslint --fix .` to auto-fix lint issues

parent 8c23ffbb
......@@ -8,7 +8,7 @@ exports.compare = {
var db = new sqlite3.Database('');
var file = fs.readFileSync('benchmark/insert-transaction.sql', 'utf8');
db.exec(file);
db.close(finished)
db.close(finished);
},
'insert with transaction and two statements': function(finished) {
......
var cf = require('@mapbox/cloudfriend');
var package_json = require('../package.json')
var package_json = require('../package.json');
module.exports = {
AWSTemplateFormatVersion: '2010-09-09',
......
......@@ -16,7 +16,7 @@ function createdb(callback) {
str += chars[Math.floor(Math.random() * chars.length)];
}
return str;
};
}
if (existsSync(db_path)) {
......@@ -38,7 +38,7 @@ function createdb(callback) {
});
});
}
};
}
if (require.main === module) {
createdb();
......
......@@ -15,8 +15,8 @@ exports.deleteFile = function(name) {
exports.ensureExists = function(name,cb) {
if (!pathExists(name)) {
fs.mkdirSync(name);
};
}
}
};
assert.fileDoesNotExist = function(name) {
try {
......
......@@ -20,7 +20,7 @@ describe('query properties', function() {
if (err) throw err;
assert.equal(row.count, 3); // equals 3
});
})
});
});
db.wait(done);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment