From d4291c226acd2337090219697d39a8d4fa99d185 Mon Sep 17 00:00:00 2001 From: Lucie Le Naour <40564413+lucie-docs@users.noreply.github.com> Date: Mon, 22 Feb 2021 13:01:23 +0100 Subject: [PATCH 1/2] Correct JS codeblock in 14_js-files-activity.md --- responses/14_js-files-activity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/responses/14_js-files-activity.md b/responses/14_js-files-activity.md index e555864..96ed69e 100644 --- a/responses/14_js-files-activity.md +++ b/responses/14_js-files-activity.md @@ -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, From d282e2304e80bac2be32354d239bd07fc2029578 Mon Sep 17 00:00:00 2001 From: Briana Swift Date: Tue, 23 Feb 2021 10:39:25 +0100 Subject: [PATCH 2/2] correct 'makes' to 'maker' typo --- responses/14_js-files-activity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/responses/14_js-files-activity.md b/responses/14_js-files-activity.md index 96ed69e..3cf9372 100644 --- a/responses/14_js-files-activity.md +++ b/responses/14_js-files-activity.md @@ -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 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