Commit 1e78a4c
committed
l10n missing from .vsix
1. The `l10n` folder, which contains all the translations, was not
present anywhere in the built .vsix. The translations are required in
order to run yaml-language-server, so I copied from
yaml-language-server to `dist/l10n`.
2. The location of l10n was listed as `../yaml-language-server/l10n`.
This doesn't work if yaml-language-server isn't cloned locally,
and doesn't work when running as a .vsix, so I changed it to
`./dist/l10n`.
3. During the CI run, npm isn't installing the latest prerelease of
yaml-language-server. I added a step to force it to use the latest
yaml-language-server. This is important, because the above bugs
could have been caught earlier if we were actually testing against
the newest yaml-language-server.
Fixes #1152
Signed-off-by: David Thompson <davthomp@redhat.com>1 parent 70b0aca commit 1e78a4c
File tree
4 files changed
+18
-13
lines changed- .github/workflows
- src
4 files changed
+18
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
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 | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
| 260 | + | |
260 | 261 | | |
261 | | - | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments