mirror of
https://gitee.com/actions-mirror/cache.git
synced 2025-03-26 20:30:58 +08:00
mask
This commit is contained in:
parent
7d05b27fb9
commit
9450d42d15
2
dist/restore-only/index.js
vendored
2
dist/restore-only/index.js
vendored
@ -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}`);
|
||||
|
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
@ -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}`);
|
||||
|
2
dist/save-only/index.js
vendored
2
dist/save-only/index.js
vendored
@ -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}`);
|
||||
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user