Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can't access JSON properties of what octokit returned#445

Unanswered
aaronliu0130 asked this question inQ&A
Discussion options

Workflow:https://github.com/aaronliu0130/TerminalImageViewer/commits/cimg/.github/workflows/test.yml
Runs:https://github.com/aaronliu0130/TerminalImageViewer/actions/workflows/test.yml

I've been trying to use GitHubScript's octokit to fetch the latest tag of a repository. Every time I try to access .data , it reports as undefined. However, if I copy and past the JSON into my browser and do .data[0], it gives me the object I want. What the heck is happening and how can I fix this?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@aaronliu0130

[8]ページ先頭

©2009-2025 Movatter.jp