Skip to content

Commit

Permalink
refactor(examples): updated grpc_web imports to reflect removed works…
Browse files Browse the repository at this point in the history
…pace symlink
  • Loading branch information
gregmagolan committed Apr 17, 2020
1 parent 80faa7b commit a55a2c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/protocol_buffers/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ load("@npm_bazel_protractor//:index.bzl", "protractor_web_test_suite")
load("@npm_bazel_rollup//:index.bzl", "rollup_bundle")
load("@npm_bazel_terser//:index.bzl", "terser_minified")
load("@npm_bazel_typescript//:index.bzl", "ts_config", "ts_devserver", "ts_library")
load("@rules_proto//proto:defs.bzl", "proto_library")

proto_library(
name = "tire_proto",
Expand Down
2 changes: 1 addition & 1 deletion examples/protocol_buffers/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Car} from 'examples_protocol_buffers/car_pb';
import {Car} from './car_pb';

const car = new Car();
car.setMake('Porsche');
Expand Down
4 changes: 2 additions & 2 deletions examples/protocol_buffers/car.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Car} from 'examples_protocol_buffers/car_pb';
import {Tire} from 'examples_protocol_buffers/tire_pb';
import {Car} from './car_pb';
import {Tire} from './tire_pb';

describe('protocol buffers', () => {
it('allows creation of an object described by proto', () => {
Expand Down

0 comments on commit a55a2c6

Please sign in to comment.