Commit a3a65b32 authored by Adam's avatar Adam

Fix issue #1745 - javascript allow dot in filename

parent f15185d3
...@@ -193,6 +193,7 @@ string ModuleAlias(const string& filename) { ...@@ -193,6 +193,7 @@ string ModuleAlias(const string& filename) {
string basename = StripProto(filename); string basename = StripProto(filename);
StripString(&basename, "-", '$'); StripString(&basename, "-", '$');
StripString(&basename, "/", '_'); StripString(&basename, "/", '_');
StripString(&basename, ., '_');
return basename + "_pb"; return basename + "_pb";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment