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

Fixing in-hash error when a port is provided and user.js isnt #8

Merged
merged 3 commits into from
Jun 2, 2023

Conversation

quxo
Copy link

@quxo quxo commented May 28, 2023

If one uses the current master branch, an error is obtained when a port is passed but user.js has the default value #f.

For example if one runs:

(start-marionette! #:port 55000)

then one gets the error

in-hash: contract violation
expected: hash?
given: #f

Now, this happend because in /marionette-lib/support/user.js the code (in-hash user.js) runs even when user.js is #f.
This pull request solved this bug.

@Bogdanp Bogdanp merged commit 184bd13 into Bogdanp:master Jun 2, 2023
@Bogdanp
Copy link
Owner

Bogdanp commented Jun 2, 2023

Thanks!

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.

2 participants