Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added 'vendor/node_modules' to NODE_PATH

added mainly just for organizational benefits (anal retentiveness
came out to play); tests pass
  • Loading branch information...
commit 82721a0c3b4ebef92053d012d4d79493943abf9c 1 parent 9ef5621
@bluestrike2 bluestrike2 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/stylus.rb
View
2  lib/stylus.rb
@@ -154,5 +154,5 @@ def bundled_path
# Exports the `.node_modules` folder on the working directory so npm can
# require modules installed locally.
- ENV['NODE_PATH'] = "#{File.expand_path('node_modules')}:#{bundled_path}:#{ENV['NODE_PATH']}"
+ ENV['NODE_PATH'] = "#{File.expand_path('node_modules')}:#{File.expand_path('vendor/node_modules')}:#{bundled_path}:#{ENV['NODE_PATH']}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.