Skip to content

Commit

Permalink
🐛 Fix callback not being called
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoLegends committed Jun 9, 2017
1 parent 99c8610 commit 4427c33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/start-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module.exports = function (path) {
return rej({msg: "File does not exist!", reason: "ENOTFOUND"});
}

cp.spawn(path, { detached: true }, err => err ? rej(err) : res());
cp.spawn(path, { detached: true });
res();
});
});
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "start-spotify",
"version": "0.1.2",
"version": "0.1.3",
"description": "Launch the Spotify desktop application",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 4427c33

Please sign in to comment.