Skip to content

Commit

Permalink
Remove google-proto-files
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Nov 11, 2018
1 parent 1cf3efc commit 5bed667
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions dev/conformance/runner.ts
Expand Up @@ -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';
Expand Down Expand Up @@ -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;
};
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 5bed667

Please sign in to comment.