Skip to content

Commit 9a2933a

Browse files
author
Amelia Wattenbeger
committed
fix github import
1 parent 343a5a8 commit 9a2933a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19516,8 +19516,8 @@ var main = async () => {
1951619516
core.info("[INFO] Usage https://github.com/githubocto/repo-visualizer#readme");
1951719517
core.startGroup("Configuration");
1951819518
const myToken = core.getInput("github_token");
19519-
const octokit = import_github.github.getOctokit(myToken);
19520-
const context = import_github.github.context;
19519+
const octokit = import_github.default.getOctokit(myToken);
19520+
const context = import_github.default.context;
1952119521
const repo = context.repo;
1952219522
core.endGroup();
1952319523
const data = await processDir(`./`);

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { github } from '@actions/github'
1+
import github from '@actions/github'
22
import { exec } from '@actions/exec'
33
import * as core from '@actions/core'
44
import React from 'react';

0 commit comments

Comments
 (0)