Skip to content

Commit 8311749

Browse files
fix: update axios version
1 parent 047718e commit 8311749

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

lib/github_provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class GitHubContentsApi {
6868
}
6969
}))
7070
.catch(e => this._handleResponseError(e, `get contents for ${contentPath}`))
71-
.then(resp => resp.data.content)
71+
.then(resp => JSON.parse(resp.data).content)
7272
.then(data => Buffer.from(data, 'base64').toString('utf8'));
7373
}
7474
}

package-lock.json

Lines changed: 16 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@f5devcentral/atg-storage": "^1.3.9",
6767
"adm-zip": "^0.5.10",
6868
"ajv": "^6.12.6",
69-
"axios": "^0.27.2",
69+
"axios": "^1.6.0",
7070
"deepmerge": "^4.3.1",
7171
"js-yaml": "^4.1.0",
7272
"jsonpath-plus": "^4.0.0",

0 commit comments

Comments
 (0)