But actually work correctly
Turns out this only works when run from the local directory -- once I installed this into ~/bin (I do this in my demo user account) it stopped working altogether.
This commit is contained in:
Родитель
a88c7a100d
Коммит
540becb511
|
@ -8,7 +8,7 @@ BANNER
|
|||
|
||||
require 'octokit'
|
||||
require 'optparse'
|
||||
require './common'
|
||||
require_relative 'common'
|
||||
|
||||
access_token = ENV['GITHUBTEACHER_TOKEN'] or abort("You need a GitHub Teacher access token")
|
||||
repo_name, issue_num = nil, nil
|
||||
|
|
|
@ -10,7 +10,7 @@ BANNER
|
|||
$stderr.sync = true
|
||||
require 'octokit'
|
||||
require 'optparse'
|
||||
require './common'
|
||||
require_relative 'common'
|
||||
|
||||
file = __FILE__
|
||||
issue_url = ARGV.first
|
||||
|
|
Загрузка…
Ссылка в новой задаче