linear-cli 0.9.19 → 0.9.20
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cf5ca3b329b479c702917f8b32ab5b381c769ce54bdad06aa19acb93604abc5
|
4
|
+
data.tar.gz: c00cc890a0616715ed4ff5fa188bb3143ca96cadcfcd140587c141a0d292cab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44b4d5e238e78e980dc156db68a3419172bd1bffa16ee28e5a8aaccab322c6fb2664c60ebb83a78189785177ba66ac69ad08b7bbdd4b57feb124519fca4c6c34
|
7
|
+
data.tar.gz: e824e5234ad12c5fdcc110ee5ea93bd3ccf0fb04be7468f6400bd3e2913c6468739280a1b556a3ece481e13d623c06b482d4c63376e42a9e26fa64c2eb7f6994
|
data/lib/linear/cli/version.rb
CHANGED
@@ -21,6 +21,7 @@ module Rubyists
|
|
21
21
|
|
22
22
|
def call(issue_ids:, **options)
|
23
23
|
updates = issue_ids.map do |issue_id|
|
24
|
+
Rubyists::Linear::Issue.find(issue_id)
|
24
25
|
gimme_da_issue! issue_id # gimme_da_issue! is defined in Rubyists::Linear::CLI::Issue
|
25
26
|
rescue NotFoundError => e
|
26
27
|
logger.warn e.message
|
@@ -55,7 +55,7 @@ module Rubyists
|
|
55
55
|
sym = camel_name.to_sym
|
56
56
|
ff = full_fragment
|
57
57
|
query_data = Api.query(query { __node(camel_name, id: id_val) { ___ ff } })
|
58
|
-
raise NotFoundError, "No #{just_name} found with id #{id_val}" if query_data[sym].nil?
|
58
|
+
raise NotFoundError, "No #{just_name} found with id #{id_val}" if query_data.nil? || query_data[sym].nil?
|
59
59
|
|
60
60
|
new query_data[sym]
|
61
61
|
end
|