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

IndexOutOfRangeException if bootstrapper is invoked with "profile" parameter and no profile is specified #226

Open
Dmitry-Me opened this issue Aug 6, 2021 · 0 comments

Comments

@Dmitry-Me
Copy link

Dmitry-Me commented Aug 6, 2021

Bootstrapper.Main() goes like:

  1. check that args is not empty
  2. check that args[0]=="profile" and if it is then
  3. invoke File.Exists(args[1])

if it so happens that args only contains one element and its value is "profile" then there's an IndexOutOfRangeException at point 3.

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

1 participant