Skip to content

Commit

Permalink
Fixing lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kehrer committed Aug 4, 2017
1 parent d6614d4 commit 859b03c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/connectionstring.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const parseConnectionURI = function (uri) {
}

Object.defineProperty(object, 'toString', {
value() {
value () {
const out = []
for (const key in this) {
if (IGNORE_KEYS.indexOf(key) === -1) {
Expand All @@ -77,7 +77,7 @@ const parseConnectionString = function (string) {

Object.defineProperty(parsed, '__original__', { value: original })
Object.defineProperty(parsed, 'toString', {
value() {
value () {
const out = []
for (const key in this) {
if (IGNORE_KEYS.indexOf(key) === -1) {
Expand Down
4 changes: 2 additions & 2 deletions test/common/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('Unit', () => {
let resolved = false

class FakePromise {
constructor(cb) {
constructor (cb) {
setImmediate(cb, () => {
resolved = true
this._then()
Expand All @@ -175,7 +175,7 @@ describe('Unit', () => {
})
}

then(func) {
then (func) {
this._then = func
}
}
Expand Down

0 comments on commit 859b03c

Please sign in to comment.