mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-05-15 04:50:33 +00:00
rewriting module to esm
This commit is contained in:
parent
61436fbfef
commit
492699a3ee
1 changed files with 4 additions and 2 deletions
|
|
@ -1,2 +1,4 @@
|
|||
import util from 'util';
|
||||
module.exports = util.promisify(require('child_process').exec);
|
||||
import { promisify } from 'util';
|
||||
import { exec } from 'child_process';
|
||||
|
||||
export default promisify(exec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue