dev-rke / Codiad-LessCompiler

Less Compiler Plugin for Codiad IDE
2 stars 1 forks source link

Erreur getFileNameWithoutExtension(currentFile) #2

Closed manchote closed 10 years ago

manchote commented 10 years ago

I've problem with this method because my folder named with dot my.folder/myfile.ext

This method return "my." and the result must be : "my.folder/myfile." I think the name without extension is splitted with indexOf. The best use is lastIndexOf()

Thank

dev-rke commented 10 years ago

Thank you for your bug report. Now lastIndexOf will be used.

If you find further issues, do not hesitate to report them.