Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Project conversion: use only "safe" chars in library file name
  • Loading branch information
pavelfatin committed Oct 31, 2014
1 parent 82d5cae commit 75381a1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ private case class ScalaSdkData(name: String, standardLibrary: LibraryData, lang

private def addDirectoryBasedLibrary(library: Elem, context: ConversionContext): File = {
val file = {
val fileName = name.replace('-', '_')
val fileName = name.replaceAll("\\W", "_")
suggestLibraryFile(fileName, context)
}
val componentElement = <component name="libraryTable"> {library} </component>
Expand Down

0 comments on commit 75381a1

Please sign in to comment.