Incorrect package path

I'm pretty sure that this is a mistake, since the path doesn't exist relative to this file. Is it supposed to point to the babel-core package.json like this?
This commit is contained in:
Ben 2015-03-28 15:32:07 -04:00
parent 048f9acc55
commit 617ed09227

View File

@ -158,7 +158,7 @@ export default function (opts = {}) {
try {
var runtimePackage = require("babel-runtime/package");
var version = require("../../package").version;
var version = require("../../../../package").version;
if (runtimePackage.version !== version) {
throw new ReferenceError(`The verison of babel-runtime of ${runtimePackage.runtime} that you have installed does not match the babel verison of ${version}`);
}