fetchPinned
fetchPinned(
tools,arch,dir,deps):Promise<readonlystring[]>
Download every pinned linux asset for arch, refuse any whose sha256 is not the
pinned one, unpack the binary into dir (or place it there, when the asset
is the binary), and require it to report the pinned version. Throws on the
first problem: CI must never lint with a tool it could not verify.
Parameters
Section titled “Parameters”readonly IPinnedTool[]
string
Returns
Section titled “Returns”Promise<readonly string[]>