Skip to content

Commit

Permalink
removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogs committed Feb 3, 2017
1 parent c9be804 commit bd13b2a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function save(vpns) {
function startOpenvpn(options = []) {
logger.info('Starting openvpn...');
const openvpn = `"${which.sync('openvpn')}"`;
console.log(['--config', `"${filePath}"`].concat(options));
const proc = spawn(openvpn, ['--config', `"${filePath}"`].concat(options), { shell: true });
proc.stdout.pipe(logger.stream);
proc.stderr.on('data', data => logger.error(data.toString()));
Expand Down

0 comments on commit bd13b2a

Please sign in to comment.