From 7982da3a8fc4d72aeaf698b8eaa830182b48c6e3 Mon Sep 17 00:00:00 2001 From: Olivier Berthonneau Date: Mon, 31 Oct 2016 12:07:18 +0100 Subject: [PATCH] Update indentation to new travis standard --- api/models/Storage.js | 16 ++++++++-------- api/models/Team.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/api/models/Storage.js b/api/models/Storage.js index 01e63e4c..1569eb31 100644 --- a/api/models/Storage.js +++ b/api/models/Storage.js @@ -53,11 +53,11 @@ module.exports = { values.hostname, values.port, { command: ['useradd', - values.username, - '--create-home', - '--groups', - 'users' - ], + values.username, + '--create-home', + '--groups', + 'users' + ], wait: true }) .then(() => { @@ -65,9 +65,9 @@ module.exports = { values.hostname, values.port, { command: ['smbpasswd', - '-a', - values.username - ], + '-a', + values.username + ], stdin: values.password + '\n' + values.password, wait: true }); diff --git a/api/models/Team.js b/api/models/Team.js index fef295a3..d6e914fa 100644 --- a/api/models/Team.js +++ b/api/models/Team.js @@ -84,11 +84,11 @@ module.exports = { config.teamStorageAddress, config.teamStoragePort, { command: ['useradd', - values.username, - '--create-home', - '--groups', - 'users' - ], + values.username, + '--create-home', + '--groups', + 'users' + ], wait: true }) .then(() => { @@ -96,9 +96,9 @@ module.exports = { config.teamStorageAddress, config.teamStoragePort, { command: ['smbpasswd', - '-a', - values.username - ], + '-a', + values.username + ], stdin: values.password + '\n' + values.password, wait: true });