From 9ee52f3013c6ae18925c933ed17179b62df2765d Mon Sep 17 00:00:00 2001 From: dnly15 Date: Fri, 25 Dec 2020 07:16:11 -0500 Subject: [PATCH] fix typo and update token call --- responses/14_js-files-activity.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/responses/14_js-files-activity.md b/responses/14_js-files-activity.md index e555864..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 @@ -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, 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