From 5bed6677d1efe5475fa86b45dd30f14f9c2ed734 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Sun, 11 Nov 2018 12:07:58 -0800 Subject: [PATCH] Remove google-proto-files --- dev/conformance/runner.ts | 3 +-- package.json | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dev/conformance/runner.ts b/dev/conformance/runner.ts index c022444a6..2464ad489 100644 --- a/dev/conformance/runner.ts +++ b/dev/conformance/runner.ts @@ -16,7 +16,6 @@ import {expect} from 'chai'; const duplexify = require('duplexify'); -const googleProtoFiles = require('google-proto-files'); import * as is from 'is'; import * as path from 'path'; @@ -50,7 +49,7 @@ const CONFORMANCE_TEST_PROJECT_ID = 'projectID'; const protobufRoot = new protobufjs.Root(); protobufRoot.resolvePath = (origin, target) => { if (/^google\/.*/.test(target)) { - target = path.join(googleProtoFiles(), target.substr('google/'.length)); + target = path.join(__dirname, '../protos', target); } return target; }; diff --git a/package.json b/package.json index 0dcc6578b..96a5780f6 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,6 @@ "chai-as-promised": "^7.1.1", "codecov": "^3.0.2", "duplexify": "^3.6.0", - "google-proto-files": "^0.17.0", "gts": "^0.8.0", "hard-rejection": "^1.0.0", "ink-docstrap": "git+https://github.com/docstrap/docstrap.git",