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

[Bug] Methods hasNextStep and hasPreviousStep do not return boolean #492

Open
lonix1 opened this issue May 4, 2024 · 1 comment
Open

Comments

@lonix1
Copy link

lonix1 commented May 4, 2024

They (maybe) return the steps rather than booleans.

@xionnon
Copy link

xionnon commented May 11, 2024

@lonix1 👍

driver.js/src/driver.ts

Lines 156 to 157 in 9e6f1a4

const hasNextStep = steps[stepIndex + 1];
const hasPreviousStep = steps[stepIndex - 1];

hasNextStep => nextStep?

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

No branches or pull requests

2 participants