Commit 5756051
authored
Fix: Finally eliminate ajv error & Log url to user on deploy (#76)
We move the ajv dependencies out of dev deps. This actually resolves the
issue.
running make-agent deploy without the [optional] url argument results in
the following:
```
➜ wraptor git:(upgrade) ✗ npx make-agent deploy
Retrying...
Retrying...
Retrying...
Unexpected error: fetch failed
OpenAPI specification validation failed.
```
Digging into the code it seems that the env vars are not loaded. There
is also no documentation about what env vars should be set if the URL is
not supplied in the runtime argument.
Closes #771 parent 2df1bad commit 5756051
4 files changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
61 | | - | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments