Unverified Commit 639f9d8b authored by Josh Gross's avatar Josh Gross Committed by GitHub
Browse files

Mask download URL in logs (#110)

parent d9fe1b81
Loading
Loading
Loading
Loading
+3 −2
Changes for src/cacheHttpClient.ts: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -61,11 +61,12 @@ export async function getCacheEntry(
        throw new Error(`Cache service responded with ${response.statusCode}`);
    }
    const cacheResult = response.result;
    core.debug(`Cache Result:`);
    core.debug(JSON.stringify(cacheResult));
    if (!cacheResult || !cacheResult.archiveLocation) {
        throw new Error("Cache not found.");
    }
    core.setSecret(cacheResult.archiveLocation);
    core.debug(`Cache Result:`);
    core.debug(JSON.stringify(cacheResult));

    return cacheResult;
}