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

Enhancements I/O utils function #1

Merged
merged 7 commits into from
Feb 6, 2024
Merged

Commits on Feb 5, 2024

  1. fix(utils): 🩹 Added await keyword to isFileExists function checking t…

    …o properly handle pending status
    krishna-gujjjar committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    a91ba24 View commit details
    Browse the repository at this point in the history
  2. fix(utils): 🚑 fixed access function throw ENOENT: No such file or d…

    …irectory error
    
    `isFileExists` function return type change `Promise<boolean | void>` to `Promise<boolean>`
    krishna-gujjjar committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    056ea3e View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. fix(utils): 🚑 fixed invalid json file error in readFileAsJson and han…

    …dle json parse's syntax error
    krishna-gujjjar committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    80171e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9d3050 View commit details
    Browse the repository at this point in the history
  3. chore(utils): 🏷️ update writingFile function's return type `Promise<n…

    …umber | void>` to `Promise<boolean>` and remove file exists checking.
    krishna-gujjjar committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    29a2846 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4d62956 View commit details
    Browse the repository at this point in the history
  5. style(utils): 🏷️ update readFileAsJson return type `Promise<ComposerJ…

    …son | undefined>` to `Promise<ComposerJson>`
    krishna-gujjjar committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    283297b View commit details
    Browse the repository at this point in the history