Skip to content

Commit 6b84268

Browse files
committed
Require Rake before referencing Rake::DSL
This file references `Rake::DSL`, and may be required in isolation, and so it should `require "rake"` before using it.
1 parent a13b4ef commit 6b84268

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/graphql/rake_task.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22
require "fileutils"
3+
require "rake"
34
require "graphql/rake_task/validate"
45

56
module GraphQL

0 commit comments

Comments
 (0)