mirror of
https://github.com/actions/cache.git
synced 2026-10-01 17:11:44 +00:00
mask
This commit is contained in:
1 parent
7d05b27fb9
commit
9450d42d15
4 files changed
+4
-4
No files matched your search
Vendored
+1
-1
@@ -8872,7 +8872,7 @@ class CacheServiceClient {
|
||||
maskSigUrl(url, urlType) {
|
||||
const sigIndex = url.indexOf('sig=');
|
||||
if (sigIndex !== -1) {
|
||||
const sigValue = url.substring(sigIndex + 4).split('&')[0];
|
||||
const sigValue = url.substring(sigIndex + 4);
|
||||
(0, core_1.setSecret)(sigValue);
|
||||
const maskedUrl = `${url.substring(0, sigIndex + 4)}***`;
|
||||
(0, core_1.debug)(`Masked ${urlType}: ${maskedUrl}`);
|
||||
|
||||
Reference in new issue
Block a user