Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Make loadFileAsync in file.service.ts take absolute path for zip file. #31

@IvanKiral

Description

@IvanKiral

Motivation

Why is this feature required? What problems does it solve?

I am writing a script that would be usable by users and uses loadFileAsync and now it depends on the directory the script is executed on. If I have a structure like src/scripts/data.zip and src/scripts/script.js which executes const zipFile = await fileService.loadFileAsync("data") and I have started the script from the src folder which gives me an error.

Proposed solution

An ideal solution for the above problems.

Make an overload function / new function that takes an absolute path for the file

Additional context

Add any other context, screenshots, or reference links about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions