Minor style fixes and tweaks

This commit is contained in:
Alex Liebowitz 2017-03-22 14:55:12 -04:00 committed by Alex Grintsvayg
parent 052eef5f81
commit 71e8d42b27
2 changed files with 2 additions and 3 deletions

View file

@ -93,10 +93,10 @@ function launchDaemonIfNotRunning() {
* tries to force kill them.
*/
function forceKillAllDaemons() {
console.log("Attempting to force kill any running lbrynet-daemon instances...");
console.log('Attempting to force kill any running lbrynet-daemon instances...');
const fgrepOut = child_process.spawnSync('pgrep', ['-x', 'lbrynet-daemon'], {encoding: 'utf8'}).stdout;
const daemonPids = fgrepOut.split(/[^\d]+/).filter((pid) => pid);
const daemonPids = fgrepOut.match(/\d+/g);
if (!daemonPids) {
console.log('No lbrynet-daemon found running.');
} else {

View file

@ -44,7 +44,6 @@ var App = React.createClass({
_version: null,
getUpdateUrl: function() {
console.log('os.platform is', os.platform());
switch (os.platform()) {
case 'darwin':
return 'https://lbry.io/get/lbry.dmg';