Skip to content

Commit

Permalink
Update node_package_importer.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Feb 7, 2024
1 parent 82e596e commit 0b982e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/sass/node_package_importer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module Sass
# @see https://sass-lang.com/documentation/js-api/classes/nodepackageimporter/
class NodePackageImporter
def initialize(entry_point_directory)
raise ArgumentError, 'entry_point_directory must be set' if entry_point_directory.nil?

@entry_point_directory = File.absolute_path(entry_point_directory)
end
end
Expand Down

0 comments on commit 0b982e2

Please sign in to comment.