mirror of
https://github.com/Keeper-Security/harness-integration.git
synced 2026-06-16 14:49:05 +08:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b4383cf712 | |||
| 8aaeab2923 | |||
| efce32f987 | |||
| 721adbcbc3 | |||
| 65515eb4d9 | |||
| 74636825f9 | |||
| 2dd1ce1851 | |||
| d0c62ef8e7 |
@@ -239,7 +239,6 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
cache: 'npm'
|
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
|
||||||
Generated
+4507
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -44,7 +44,7 @@ const processToken = (rawToken) => {
|
|||||||
if (!token.startsWith('US:') && !token.startsWith('{')) {
|
if (!token.startsWith('US:') && !token.startsWith('{')) {
|
||||||
try {
|
try {
|
||||||
token = Buffer.from(token, 'base64').toString('utf-8').trim();
|
token = Buffer.from(token, 'base64').toString('utf-8').trim();
|
||||||
} catch (e) {
|
} catch {
|
||||||
// Not base64, use as-is
|
// Not base64, use as-is
|
||||||
core.warning('Base64 decode failed, using raw value');
|
core.warning('Base64 decode failed, using raw value');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user