Skip to content

Commit

Permalink
fix(containers): unexpected token "-" (#7)
Browse files Browse the repository at this point in the history
this was caused by winglang/wing#5008

as a workaround, rename the directory names to "_"
  • Loading branch information
eladb authored Nov 20, 2023
1 parent 4fdd1da commit 3753144
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions containers/bring.test.w
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bring "." as c;

2 changes: 1 addition & 1 deletion containers/test/local-build.test.w
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bring http;

let app = new containers.Workload(
name: "my-app",
image: "./my-app",
image: "./my_app",
port: 3000,
public: true,
);
Expand Down
4 changes: 2 additions & 2 deletions containers/test/microservices.test.w
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ bring expect;

let producer = new containers.Workload(
name: "producer",
image: "./microservices-producer",
image: "./microservices_producer",
port: 4000,
) as "producer";

let consumer = new containers.Workload(
name: "consumer",
image: "./microservices-consumer",
image: "./microservices_consumer",
port: 3000,
public: true,
env: {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3753144

Please sign in to comment.