There's no common mechanism for resolving files in JS, hence this is not possible.
[Verification] Code compiles, logic was not changed.
Change-Id: If80b038aa5cfc2c17525f0cf914b6f05717f4e25
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
if (!args.get("destination").is<picojson::null>()) {
if (args.get("destination").get<std::string>() != "") {
diPtr->destination = args.get("destination").get<std::string>();
- // TODO: move conversion to JS
diPtr->destination = common::VirtualFs::GetInstance().GetRealPath(diPtr->destination);
}
}