Skip to content

Commit fec2085

Browse files
esilkensenPierre Guillaume Herveou
authored and
Pierre Guillaume Herveou
committed
Fix minify build error in root.js
1 parent 64ae62f commit fec2085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/root.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Root.prototype.load = function load(filename, options, callback) {
9797

9898
// Bundled definition existence checking
9999
function getBundledFileName(filename) {
100-
const idx = filename.lastIndexOf("google/protobuf/");
100+
var idx = filename.lastIndexOf("google/protobuf/");
101101
if (idx > -1) {
102102
var altname = filename.substring(idx);
103103
if (altname in common) return altname;

0 commit comments

Comments
 (0)