From fdb1a729ae5f8ab762c51699bc4bb721102ef0c8 Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Fri, 20 Jan 2017 05:05:00 +0100 Subject: [PATCH] Other: Fixed node 0.12 tests --- index.js | 2 +- src/index-debug.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 40fd2e765..395e3d64e 100644 --- a/index.js +++ b/index.js @@ -1,2 +1,2 @@ "use strict"; -module.exports = require("./src"); +module.exports = require("./src/index"); diff --git a/src/index-debug.js b/src/index-debug.js index 0ea1166a2..27c966075 100644 --- a/src/index-debug.js +++ b/src/index-debug.js @@ -2,7 +2,7 @@ // might eventually become a starting point for a real debug build. "use strict"; -var protobuf = module.exports = require("."); +var protobuf = module.exports = require("./index"); // Count number of calls to any generated function protobuf.util.codegen = (function(codegen) { return function codegen_debug() {