You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a protocol other than "file://" to load templates with Mustache_Loader_FilesystemLoader, I get an error FilesystemLoader baseDir must be a directory.
I have provided a pull request to fix the code and test.
I've fixed the code to check for existing directory and file only when there is no protocol.
To make the test Mustache_Test_Loader_FilesystemLoaderTest.testConstructorWithProtocol actually fail for these checks, I have implemented a minimal protocol "test://".
The text was updated successfully, but these errors were encountered:
When using a protocol other than "file://" to load templates with Mustache_Loader_FilesystemLoader, I get an error
FilesystemLoader baseDir must be a directory
.I have provided a pull request to fix the code and test.
I've fixed the code to check for existing directory and file only when there is no protocol.
To make the test Mustache_Test_Loader_FilesystemLoaderTest.testConstructorWithProtocol actually fail for these checks, I have implemented a minimal protocol "test://".
The text was updated successfully, but these errors were encountered: