File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 90
90
"contributors" : contributor_info
91
91
}
92
92
93
- with open ('../data/repo_info.json' , 'w' ) as f :
93
+ data_path = os .path .join (dir_path , 'repo_info.json' )
94
+ with open (data_path , 'w' ) as f :
94
95
json .dump (results , f )
Original file line number Diff line number Diff line change 47
47
sorted_issue_data = sorted (issue_data , key = lambda x : x ['days_ago' ])
48
48
49
49
# Save to JSON file
50
- with open ('../data/issue_data.json' , 'w' ) as f :
50
+ data_path = os .path .join (dir_path , 'issue_data.json' )
51
+ with open (data_path , 'w' ) as f :
51
52
json .dump (sorted_issue_data , f )
Original file line number Diff line number Diff line change 54
54
sorted_trophy_data = sorted (trophy_data , key = lambda x : x ['days_ago' ])
55
55
56
56
# Save sorted data to JSON file
57
- with open ('../data/trophy_data.json' , 'w' ) as f :
57
+ data_path = os .path .join (dir_path , 'trophy_data.json' )
58
+ with open (data_path , 'w' ) as f :
58
59
json .dump (sorted_trophy_data , f )
You can’t perform that action at this time.
0 commit comments