Skip to content

Commit

Permalink
chore: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Sep 17, 2019
1 parent fac0906 commit 5c1a6ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"superagent": "^5.0.5"
},
"devDependencies": {
"aegir": "^20.1.0",
"aegir": "^20.2.0",
"chai": "^4.2.0",
"delay": "^4.3.0",
"detect-port": "^1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/factory-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FactoryClient {
this.options = options

if (options.type === 'proc') {
throw new Error(`'proc' is not supported in client mode`)
throw new Error('\'proc\' is not supported in client mode')
}

this.baseUrl = `${options.secure ? 'https://' : 'http://'}${options.host}:${options.port}`
Expand Down
2 changes: 1 addition & 1 deletion src/factory-in-proc.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class FactoryInProc {
}

if (typeof this.options.exec !== 'function') {
throw new Error(`'type' proc requires 'exec' to be a coderef`)
throw new Error('\'type\' proc requires \'exec\' to be a coderef')
}

const node = new InProc(daemonOptions)
Expand Down
6 changes: 3 additions & 3 deletions test/start-stop.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@ tests.forEach((fOpts) => {
},
config: {
Addresses: {
Swarm: [`/ip4/127.0.0.1/tcp/0`],
API: `/ip4/127.0.0.1/tcp/0`,
Gateway: `/ip4/127.0.0.1/tcp/0`
Swarm: ['/ip4/127.0.0.1/tcp/0'],
API: '/ip4/127.0.0.1/tcp/0',
Gateway: '/ip4/127.0.0.1/tcp/0'
}
}
})
Expand Down

0 comments on commit 5c1a6ce

Please sign in to comment.