mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-07 19:47:25 +00:00
Use import to destructure package.json
This commit is contained in:
parent
48b5a1f06e
commit
c4b374fc52
1 changed files with 1 additions and 2 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import * as core from '@actions/core';
|
||||
import * as github from '@actions/github';
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const {version} = require('../package.json');
|
||||
import { version } from '../package.json';
|
||||
|
||||
const context = github.context;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue