GitHub #32 (merged from contrib) made createApp fail with a message
naming the module when its @Module metadata has no mountpoint,
instead of a TypeError from joinPath. The check tested falsiness, so
it also refused mountpoint: '', which the type allows and which has
always mounted at the root (joinPath('', '/hi') is /hi).
Test for typeof … !== 'string' instead: a missing or non-string
mountpoint still fails with the new message, and '' boots as before.
The CHANGELOG entry for #31 that #32 did not add is included.
GitHub #32 (merged from contrib) made `createApp` fail with a message
naming the module when its `@Module` metadata has no `mountpoint`,
instead of a TypeError from `joinPath`. The check tested falsiness, so
it also refused `mountpoint: ''`, which the type allows and which has
always mounted at the root (`joinPath('', '/hi')` is `/hi`).
Test for `typeof … !== 'string'` instead: a missing or non-string
mountpoint still fails with the new message, and `''` boots as before.
The CHANGELOG entry for #31 that #32 did not add is included.
GitHub #32 (merged from contrib) made `createApp` fail with a message
naming the module when its `@Module` metadata has no `mountpoint`,
instead of a TypeError from `joinPath`. The check tested falsiness, so
it also refused `mountpoint: ''`, which the type allows and which has
always mounted at the root (`joinPath('', '/hi')` is `/hi`).
Test for `typeof … !== 'string'` instead: a missing or non-string
mountpoint still fails with the new message, and `''` boots as before.
The CHANGELOG entry for #31 that #32 did not add is included.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
GitHub #32 (merged from contrib) made
createAppfail with a messagenaming the module when its
@Modulemetadata has nomountpoint,instead of a TypeError from
joinPath. The check tested falsiness, soit also refused
mountpoint: '', which the type allows and which hasalways mounted at the root (
joinPath('', '/hi')is/hi).Test for
typeof … !== 'string'instead: a missing or non-stringmountpoint still fails with the new message, and
''boots as before.The CHANGELOG entry for #31 that #32 did not add is included.
d276e3d278to7c2454fe43