Skip to content

Commit

Permalink
fix: version file being picked up
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjtait committed May 23, 2023
1 parent 0403eee commit a7ac9a7
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 27 deletions.
2 changes: 0 additions & 2 deletions gemfiles/.bundle/config

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/graphql_1.10.gemfile

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/graphql_1.8.gemfile

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/graphql_1.9.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion lib/graphql/preload/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module GraphQL
module Preload

VERSION_FILE_ROOT = File.expand_path('../../VERSION', __dir__)
VERSION_FILE_ROOT = File.expand_path('../../../VERSION', __dir__)
if File.file?(VERSION_FILE_ROOT)
VERSION = File.read(VERSION_FILE_ROOT).strip.sub(/\Av/, '')
else
Expand Down

0 comments on commit a7ac9a7

Please sign in to comment.