Change simulator UI help text to refer to directory #839
+3
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When using the mode of the simulator in which you provide an existing
index.json
file, the help text said to provide the absolute path to theindex.json
file. However if you do so, the stringindex.json
is then appended to this leading to errors such as:This PR changes the help text to instruct the user to provide the path to the directory containing the
index.json
file, instead of to the file itself.Before:
![](https://private-user-images.githubusercontent.com/5845679/392154051-0ef29db9-19de-4d51-b302-b48e4d1b008d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjE1NjUsIm5iZiI6MTczOTMyMTI2NSwicGF0aCI6Ii81ODQ1Njc5LzM5MjE1NDA1MS0wZWYyOWRiOS0xOWRlLTRkNTEtYjMwMi1iNDhlNGQxYjAwOGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDA0NzQ1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Yjg2OGQ2NWViMzM2MDMxNDljNWMyYjM2NGIyYzhmOTdiNjFiNjg5Mz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