Skip to content

Commit ddebd51

Browse files
authored
dev: Use an affirmative conditional (#174)
...and avoid regex in match. (Try a gem list ails vs a gem list --exact ails to see what I mean.)
1 parent 053cbd3 commit ddebd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install/dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22

3-
if ! gem list foreman -i --silent; then
3+
if gem list --no-installed --exact --silent foreman; then
44
echo "Installing foreman..."
55
gem install foreman
66
fi

0 commit comments

Comments
 (0)