fix: imports
This commit is contained in:
parent
46583c7061
commit
376451a48c
@ -1,5 +1,5 @@
|
|||||||
import got from 'got';
|
import got from 'got';
|
||||||
import core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
|
|
||||||
const GITHUB_TOKEN = core.getInput('github-token', { required: true });
|
const GITHUB_TOKEN = core.getInput('github-token', { required: true });
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// original content by: github.com/TriPSs/conventional-changelog-action/blob/master/src/helpers/git.js
|
// 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';
|
import exec from '@actions/exec';
|
||||||
|
|
||||||
const { GITHUB_REPOSITORY, GITHUB_REF } = process.env;
|
const { GITHUB_REPOSITORY, GITHUB_REF } = process.env;
|
||||||
|
@ -7,7 +7,7 @@ import toc from 'remark-toc';
|
|||||||
import GithubApi from './api';
|
import GithubApi from './api';
|
||||||
import link from './link';
|
import link from './link';
|
||||||
import git from './git';
|
import git from './git';
|
||||||
import core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
|
|
||||||
const fsp = fs.promises;
|
const fsp = fs.promises;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user