Skip to content

Commit

Permalink
fix: prettier style for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
biancode committed Mar 16, 2019
1 parent d67f905 commit 38ed92f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
stop: (node, server, done) => {
server.shutdown(node.serverShutdownTimeout, done);
},
getRegisterServerMethod: (id) => {
getRegisterServerMethod: id => {
const RegisterServerMethod = require("node-opcua").RegisterServerMethod;
return RegisterServerMethod[id];
},
Expand Down Expand Up @@ -119,7 +119,9 @@ module.exports = {
module.exports.choreCompact.coreSecurity.serverKeyFile("2048");

const SecurityPolicy = require("node-opcua").SecurityPolicy;
const registerServerMethod = module.exports.getRegisterServerMethod(node.registerServerMethod);
const registerServerMethod = module.exports.getRegisterServerMethod(
node.registerServerMethod
);

return {
port: node.port,
Expand Down

0 comments on commit 38ed92f

Please sign in to comment.