Skip to content

Commit

Permalink
Merge pull request #136 from abeyuya/renovate/axios-0.x
Browse files Browse the repository at this point in the history
Update dependency axios to ^0.23.0
  • Loading branch information
abeyuya authored Oct 13, 2021
2 parents 873d188 + 77a23c8 commit 34762f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@actions/core": "^1.2.3",
"@actions/github": "^5.0.0",
"axios": "^0.22.0",
"axios": "^0.23.0",
"js-yaml": "^4.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const GithubRepositoryImpl = {
): Promise<MappingFile> => {
const pattern = /https?:\/\/[-_.!~*'()a-zA-Z0-9;/?:@&=+$,%#]+/g;
if (pattern.test(configurationPath)) {
const response = await axios.get(configurationPath);
const response = await axios.get<string>(configurationPath);
const configObject = load(response.data);

if (configObject === undefined) {
Expand Down

0 comments on commit 34762f2

Please sign in to comment.