Reinforced.Typings icon indicating copy to clipboard operation
Reinforced.Typings copied to clipboard

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

Open Dmitry-Me opened this issue 4 years ago • 0 comments

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.

Dmitry-Me avatar Aug 06 '21 14:08 Dmitry-Me