mirror of
https://github.com/actions/cache.git
synced 2025-03-26 08:26:06 +00:00
mask
This commit is contained in:
parent
7d05b27fb9
commit
9450d42d15
4 changed files with 4 additions and 4 deletions
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…
Add table
Reference in a new issue