1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-13 23:18:53 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
W. Trevor King
45369acf79 check-approval: Fix missing license_ids variable
Avoid:

   $ ./script/check-approval MIT
   ./script/check-approval:55:in `<main>': undefined local variable or method `license_ids' for main:Object (NameError)

The license_ids line was added in e505eb8f (check if license is aleady
a license, 2016-01-18, #318), but license_ids was removed from the
helper in b99e7ab0 (replace 'id' variables with 'spdx_lcase' to
minimize confusion, 2016-06-01, #424).  This commit restores the old
code locally, since this script is the only consumer.
2018-01-03 11:58:21 -08:00
Mike Linksvayer
75c05d717c mindlessly satisfy rubocop 0.48 2017-03-26 17:19:44 -07:00
Mike Linksvayer
f08ace3feb make rubocop ruby version match pages ruby version 2017-01-18 13:31:19 -08:00
Ben Balter
91b6c8728e add rubocop 2016-02-08 15:37:19 -05:00
Ben Balter
e505eb8fb9 check if license is aleady a license 2016-01-18 17:05:02 -05:00
Ben Balter
4013339bfd add fuzy match 2016-01-18 16:39:03 -05:00
Ben Balter
8de56f6e6f spelling 2016-01-18 16:20:33 -05:00
Ben Balter
6bc145a0de add code search 2016-01-18 16:19:29 -05:00
Ben Balter
8e56bb8315 add script/check-approval 2016-01-18 16:16:40 -05:00