Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Correct JS codeblock in 14_js-files-activity.md #33

Merged
merged 2 commits into from
Feb 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions responses/14_js-files-activity.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

I'm counting on you this time! In the previous steps I have guided you heavily on what to type along the way. This time I ask that you look back on the things you've done in this course and pull from the knowledge you already have to accomplish these tasks.

1. Create a file named `index.js`. **Its full path should be: `.github/actions/issue-makes/index.js`.**
1. Create a file named `index.js`. **Its full path should be: `.github/actions/issue-maker/index.js`.**
2. Create the `core` and `github` variables
3. Create an asynchronous function named `run()`
4. Inside a try/catch block define the `issueTitle`, `jokeBody`, `token` and `octokit` variables
Expand Down Expand Up @@ -33,7 +33,7 @@ async function run() {
const jokeBody = core.getInput("joke");
const token = core.getInput("repo-token");

const octokit = new github.GitHub(token);
const octokit = new github.getOctokit(token);

const newIssue = await octokit.issues.create({
repo: github.context.repo.repo,
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy