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 undefined server url error #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

precupstefan
Copy link

No description provided.

Copy link
Owner

@amorimjj amorimjj left a comment

Choose a reason for hiding this comment

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

Hey @precupstefan, thank you for your contribution, sorry for the delay... Just few comments for you.

throw new NoServerError();
if (!server) {
let baseUrl = '';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Copy link
Owner

Choose a reason for hiding this comment

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

To keep the project consistent, the disables should be avoid. Can you fix that?

if ( !server ) {
throw new NoServerError();
if (!server) {
let baseUrl = '';
Copy link
Owner

Choose a reason for hiding this comment

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

It should be moved into another method

@0xMostafa
Copy link

lgtm. keep it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants