linear-cli 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linear/cli/sub_commands.rb +2 -1
- data/lib/linear/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9fa1b0d8144a4b5a6094b71094e3eb5a208bec5a57e29059d2ffc6f183b5f18
|
4
|
+
data.tar.gz: d597e61be7585ed604fc0c075eb2967218af115bb039472dbac40aecbe6fd944
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f9f8387ac773de8f029e95f9328c3031544087421022cd32a2c975f96788cc5f55380512b4d6b30e8383e2449ca1e51567e06eb64661d3a7297b3ea65134700
|
7
|
+
data.tar.gz: c2e6ad48e7814b7d0840f343bb7ee7db6d933436d5887d8d151534d9622e59de9d0461f5234c0df2e87385a7f87b59723a536f0704277723558f13b162b1d444
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'git'
|
3
4
|
# This is where all the _for methods live
|
4
5
|
require_relative 'what_for'
|
5
6
|
|
@@ -62,7 +63,7 @@ module Rubyists
|
|
62
63
|
|
63
64
|
def git
|
64
65
|
@git ||= Git.open('.')
|
65
|
-
rescue
|
66
|
+
rescue ArgumentError => e
|
66
67
|
logger.error('Your current directory is not a git repository!', error: e)
|
67
68
|
exit 121
|
68
69
|
end
|
data/lib/linear/cli/version.rb
CHANGED