NADEE-MJ / fax_app_cli

GNU General Public License v3.0
0 stars 0 forks source link

[BUG] user_data.json being created in wrong location #11

Closed NADEE-MJ closed 2 years ago

NADEE-MJ commented 2 years ago

Describe the bug Depending on where you run the app from, user_data.json will be created in the wrong location or will be unable to find the data. Must run the app from the root directory in order for it to create/find the json file.

To Reproduce Steps to reproduce the behavior:

  1. Run the app from anything but the main directory and it will not be able to find it.

Expected behavior The app should find the json file no matter where it is run from.

Additional context Need to read the documentation on dart:io and the directory class.