Conversation
|
@slnode test please |
|
|
||
| if(!phase.__isPhase__) { | ||
| throw new Error('Cannot add a non phase object to a PhaseList'); | ||
| throw new Error(g.t('Cannot add a non phase object to a PhaseList')); |
| "async": "^0.9.0", | ||
| "debug": "^2.1.0" | ||
| "debug": "^2.1.0", | ||
| "strong-globalize": "^2.5.5" |
There was a problem hiding this comment.
2.5.6 fixed the swagger-client bug you were seeing yesterday
|
@0candy Updated, review again pls. |
|
|
||
| if(!phase.__isPhase__) { | ||
| throw new Error('Cannot add a non phase object to a PhaseList'); | ||
| throw new Error(g.t('Cannot add a non phase object to a {{PhaseList}}')); |
There was a problem hiding this comment.
You have to run slt-globalize -e again for intl/en/messages.json to get updated with the brackets change.
|
@0candy Updated, PTAL again. |
|
The change itself LGTM. So please don't merge yet. |
|
Please fix this too: strongloop/loopback-component-push#118 (comment) |
|
@slnode test please |
|
@0candy the strong-globalize problem has been resolved. This PR is now failing on one of the tests, which looks like it needs to be updated to accept the translated string: |
|
@superkhau Please fix the line that @rmg pointed out. Thanks. |
817b3fa to
bcf77a4
Compare
|
@gunjpan @richardpringle PTAL, updated with latest conventions. |
|
@rmg Tons of unrelated failures in this PR. Can you provide some insight? It seems like some NPM registry doesn't contain |
|
@slnode test please |
|
@superkhau they look like they are probably related to high load. Looking at the file dump from the ephemeral registry they were using, there were 6 partial copies of loopback mid-cache, so I think it just sort of choked on all the downstream jobs running at the same time. On the upside, if you look at the |
👍 That's a definition plus as the ones actually failing are unrelated and the ones I care about are passing on |
| var ix = this.getPhaseNames().indexOf(after); | ||
| if (ix === -1) { | ||
| throw new Error('Unknown phase: "' + after + '"'); | ||
| throw new Error(g.f('Unknown phase: %', after)); |
There was a problem hiding this comment.
@superkhau : this should be:
throw new Error(g.f('Unknown phase: %s', after));
|
@superkhau: Reviewed. Few nit-picks, otherwise, LGTM. |
|
@gunjpan @richardpringle Updated. PTAL again. |
|
LGTM |
75f0e3e to
0ffb00f
Compare
Connect to strongloop/loopback/issues/2422