Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
milankomaj committed Aug 1, 2024
1 parent 58212fc commit aad58ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
GITHUB_owner: ${{github.repository_owner}}
FORCE_COLOR: true
FORCE_COLOR: 3

defaults:
run:
Expand All @@ -43,7 +43,7 @@ jobs:
id: npm
run: |
npm install --save
- name: update
id: update
Expand Down
3 changes: 1 addition & 2 deletions src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ class GithubUser {

async fetchContent() {
this.octocat = await octokit.request("GET /octocat");
const ansi = util.arrayBufferToAsciiString(this.octocat.data);
util.color.randomColorANSI(ansi);
console.log(util.color.randomColorANSI(util.arrayBufferToAsciiString(this.octocat.data)));

this.userContent = await octokit.request("GET /users/{username}", {
username: this.userName,
Expand Down

0 comments on commit aad58ca

Please sign in to comment.