mirror of
https://github.com/adusak/bitbucket-git-helpers.plugin.zsh.git
synced 2026-03-23 18:01:03 +01:00
Use require_relative
This commit is contained in:
@@ -6,14 +6,8 @@
|
|||||||
#
|
#
|
||||||
# License: Apache 2.0
|
# License: Apache 2.0
|
||||||
|
|
||||||
def push_loadpath
|
|
||||||
$: << File.expand_path(File.dirname(caller.first))
|
|
||||||
end
|
|
||||||
|
|
||||||
push_loadpath
|
|
||||||
|
|
||||||
require 'pathname'
|
require 'pathname'
|
||||||
require 'bbhelpers'
|
require_relative 'bbhelpers'
|
||||||
|
|
||||||
def construct_PR_URL
|
def construct_PR_URL
|
||||||
remote = git_remote()
|
remote = git_remote()
|
||||||
|
|||||||
@@ -6,14 +6,8 @@
|
|||||||
#
|
#
|
||||||
# License: Apache 2.0
|
# License: Apache 2.0
|
||||||
|
|
||||||
def push_loadpath
|
|
||||||
$: << File.expand_path(File.dirname(caller.first))
|
|
||||||
end
|
|
||||||
|
|
||||||
push_loadpath
|
|
||||||
|
|
||||||
require 'pathname'
|
require 'pathname'
|
||||||
require 'bbhelpers'
|
require_relative 'bbhelpers'
|
||||||
|
|
||||||
def construct_PR_list_URL
|
def construct_PR_list_URL
|
||||||
remote = git_remote()
|
remote = git_remote()
|
||||||
|
|||||||
@@ -6,14 +6,8 @@
|
|||||||
#
|
#
|
||||||
# License: Apache 2.0, see LICENSE in this repository.
|
# License: Apache 2.0, see LICENSE in this repository.
|
||||||
|
|
||||||
def push_loadpath
|
|
||||||
$: << File.expand_path(File.dirname(caller.first))
|
|
||||||
end
|
|
||||||
|
|
||||||
push_loadpath
|
|
||||||
|
|
||||||
require 'pathname'
|
require 'pathname'
|
||||||
require 'bbhelpers'
|
require_relative 'bbhelpers'
|
||||||
|
|
||||||
def constructURL
|
def constructURL
|
||||||
remote = git_remote()
|
remote = git_remote()
|
||||||
|
|||||||
Reference in New Issue
Block a user