This doesn't happen in most cases since this is only triggered if a certain exception happen in the 'readInfo' function, although when triggered infoFromMinicap calls minicap.run with a single command parameter, although the run method expects 2 arguments, more specifically, the minicap mode, either 'minicap-apk' or 'minicap-bin'.
I'm not sure how to reproduce this, but a simple look at the code will be enough.
https://github.com/DeviceFarmer/stf/blob/3d3af0e9acf91d8beca500390e88d4ebd518f4ef/lib/units/device/plugins/util/display.js#L31C23-L31C23
This doesn't happen in most cases since this is only triggered if a certain exception happen in the 'readInfo' function, although when triggered
infoFromMinicap
callsminicap.run
with a single command parameter, although therun
method expects 2 arguments, more specifically, the minicap mode, either 'minicap-apk' or 'minicap-bin'.I'm not sure how to reproduce this, but a simple look at the code will be enough.