Skip to content

Commit de230ab

Browse files
authored
Merge pull request #1255 from esilkensen/bug/minify-const-token
Fix breaking build because of a minify error
2 parents 7bacfc8 + fb5d62f commit de230ab

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)