Skip to content

Commit

Permalink
Abort if there are no dependencies to install
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Sep 5, 2019
1 parent b383f11 commit 51416c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Dependencies.js
Expand Up @@ -28,6 +28,10 @@ class Dependencies {
} catch (e) {}
})
.pipe(dependencies => {
if (!dependencies.count()) {
return;
}

this.execute(
this.buildInstallCommand(dependencies.all()),
dependencies.all(),
Expand Down

0 comments on commit 51416c1

Please sign in to comment.