[Service] Exception is throwing if argument length is 0 13/245913/3
authork2.nagaraju <k2.nagaraju@samsung.com>
Mon, 19 Oct 2020 15:35:06 +0000 (21:05 +0530)
committerk2.nagaraju <k2.nagaraju@samsung.com>
Wed, 21 Oct 2020 12:43:01 +0000 (18:13 +0530)
commitf4efaad9398a07f2d1716a806fdc7d8a6578d196
treeb459e3c2b0ac246d46fa382484ff8a67f5dd3088
parent7981937a02b9f40f63877d8a1c512a685fcb99a9
[Service] Exception is throwing if argument length is 0

Calling |resolveVirtualRoot| with |0| parameter throwing
exception, which is causing failure in service filesystem webtct.

Change-Id: I5e8d54f916d408145331066b31f7432ad7a3be55
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
wrt_app/service/device_api_router.ts