Selaa lähdekoodia

Add style required by linter

Kamil Skrzypinski 2 vuotta sitten
vanhempi
sitoutus
2ff66ee238
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      backend/internal/access-list.js
  2. 1 1
      backend/lib/utils.js

+ 1 - 1
backend/internal/access-list.js

@@ -507,7 +507,7 @@ const internalAccessList = {
 								if (typeof item.password !== 'undefined' && item.password.length) {
 									logger.info('Adding: ' + item.username);
 
-									utils.execFile('/usr/bin/htpasswd',['-b', htpasswd_file, item.username, item.password])
+									utils.execFile('/usr/bin/htpasswd', ['-b', htpasswd_file, item.username, item.password])
 										.then((/*result*/) => {
 											next();
 										})

+ 1 - 1
backend/lib/utils.js

@@ -1,4 +1,4 @@
-const exec = require('child_process').exec;
+const exec     = require('child_process').exec;
 const execFile = require('child_process').execFile;
 
 module.exports = {