Commit 8d5f2c57 authored by Adam Cozzette's avatar Adam Cozzette Committed by GitHub

Merge pull request #3410 from adam-26/1745

Fix issue #1745 - javascript allow dot in filename
parents bb866441 2b6db00d
......@@ -193,6 +193,7 @@ string ModuleAlias(const string& filename) {
string basename = StripProto(filename);
StripString(&basename, "-", '$');
StripString(&basename, "/", '_');
StripString(&basename, ".", '_');
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