Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

directive_processor downcasing causes uppercased paths to fail #6

Closed
brettm523 opened this Issue · 3 comments

3 participants

brettm523 Ilya Grigorik Spain Train
brettm523

If a path or filename has an uppercase letter, it will not be found due to the downcasing that happens in directive_processor.rb. Is there a reason for the downcasing?

Ilya Grigorik
Owner

Thanks for reporting this - on OSX the filepaths are case insensitive, but that's definitely not true everywhere. :)

Spain Train

On the flip, this appears to break valid require statements, in my particular case goog.editor.Command (google example here). While the obvious workaround is changing the case in the require statements to match filenames, this may break code if it is moved somewhere else (i.e., somewhere not using closure-sprockets).

It seems like perhaps #10 will fix this issue altogether?

Ilya Grigorik
Owner

@SpainTrain yep, #10 should resolve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.