12
0
Fork 0
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:
Leif Ødegård Uhlen 2026-05-05 10:45:51 +02:00
parent 61436fbfef
commit 492699a3ee

View file

@ -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);