Skip to content

Commit 6257144

Browse files
committed
Use a warning for the deprecation notice
1 parent fa0974f commit 6257144

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/git_tracker/runner.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ def self.init
1919
end
2020

2121
def self.install
22-
puts "`git-tracker install` is deprecated. Please use `git-tracker init`"
22+
warn("`git-tracker install` is deprecated. Please use `git-tracker init`", uplevel: 1)
23+
2324
init
2425
end
2526

0 commit comments

Comments
 (0)