Skip to content

Commit fb5d62f

Browse files
committed
Fix minify build error in root.js
1 parent 7bacfc8 commit fb5d62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/root.js

+1-1
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)