fix: imports

This commit is contained in:
Simone Corsi 2021-01-16 10:23:06 +01:00
parent 46583c7061
commit 376451a48c
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import got from 'got';
import core from '@actions/core';
import * as core from '@actions/core';
const GITHUB_TOKEN = core.getInput('github-token', { required: true });

View File

@ -1,6 +1,6 @@
// original content by: github.com/TriPSs/conventional-changelog-action/blob/master/src/helpers/git.js
import core from '@actions/core';
import * as core from '@actions/core';
import exec from '@actions/exec';
const { GITHUB_REPOSITORY, GITHUB_REF } = process.env;

View File

@ -7,7 +7,7 @@ import toc from 'remark-toc';
import GithubApi from './api';
import link from './link';
import git from './git';
import core from '@actions/core';
import * as core from '@actions/core';
const fsp = fs.promises;