Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inferring hc file location within ESM project #88

Merged
merged 2 commits into from Dec 5, 2022

Conversation

devinivy
Copy link
Member

@devinivy devinivy commented Dec 5, 2022

There was an issue with inferring the location of the hc file when dirname was not explicitly passed in an ESM project. This resolves that issue. Thanks to @afgallo for the clear reproduction https://github.com/afgallo/hpal-esmodule

@devinivy devinivy added the bug label Dec 5, 2022
@@ -101,7 +101,7 @@ describe('HauteCouture', () => {
});
};

const bigServer = Hapi.server();
const bigServer = Hapi.server({ host: 'localhost' });
Copy link
Member Author

@devinivy devinivy Dec 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes an environment-specific issue with the subscriptions test.

@coveralls
Copy link

coveralls commented Dec 5, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling e74aad6 on fix-esm-default-bug into 174ef5c on main.

@devinivy devinivy added this to the 4.3.1 milestone Dec 5, 2022
@devinivy devinivy self-assigned this Dec 5, 2022
@devinivy devinivy merged commit f4e1d34 into main Dec 5, 2022
@devinivy devinivy deleted the fix-esm-default-bug branch December 5, 2022 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants