We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5d1178 commit 2e0835bCopy full SHA for 2e0835b
1 file changed
lib/support_table_data/tasks/utils.rb
@@ -23,7 +23,8 @@ def eager_load!
23
# @param file_path [String, Pathname, nil] Optional file path to filter by.
24
# @return [Array<SupportTableData::Documentation::SourceFile>]
25
def support_table_sources(file_path = nil)
26
- require_relative file_path if file_path
+ file_path = Pathname.new(file_path) if file_path.is_a?(String)
27
+ require file_path.expand_path if file_path
28
29
sources = []
30
0 commit comments