mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
better fix
This commit is contained in:
parent
ed8cb27837
commit
d32a6f827a
@ -1093,7 +1093,7 @@ def jsToH(target, source, env):
|
||||
|
||||
for s in source:
|
||||
filename = str(s)
|
||||
objname = filename.split(os.path.sep)[1].split('.')[0]
|
||||
objname = os.path.split(filename)[1].split('.')[0]
|
||||
stringname = '_jscode_raw_' + objname
|
||||
|
||||
h.append('const StringData ' + stringname + " = ")
|
||||
|
Loading…
Reference in New Issue
Block a user