Skip to content

Commit 52bcaa0

Browse files
authored
chore(dev): simplify require for version
1 parent bae0eaa commit 52bcaa0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jekyll-redirect-from.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# frozen_string_literal: true
22

3-
lib = File.expand_path("lib", __dir__)
4-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5-
require "jekyll-redirect-from/version"
3+
require_relative "lib/jekyll-redirect-from/version"
64

75
Gem::Specification.new do |spec|
86
spec.name = "jekyll-redirect-from"

0 commit comments

Comments
 (0)