Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 540becb

Browse files
author
Joshua Wehner
committed
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.
1 parent a88c7a1 commit 540becb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

add-collaborators

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BANNER
88

99
require 'octokit'
1010
require 'optparse'
11-
require './common'
11+
require_relative 'common'
1212

1313
access_token = ENV['GITHUBTEACHER_TOKEN'] or abort("You need a GitHub Teacher access token")
1414
repo_name, issue_num = nil, nil

create-assigned-issue

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BANNER
1010
$stderr.sync = true
1111
require 'octokit'
1212
require 'optparse'
13-
require './common'
13+
require_relative 'common'
1414

1515
file = __FILE__
1616
issue_url = ARGV.first

0 commit comments

Comments
 (0)