mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-01-31 19:38:27 +07:00
9 lines
260 B
JavaScript
9 lines
260 B
JavaScript
|
|
'use strict'
|
||
|
|
|
||
|
|
const { readFileSync, writeFileSync } = require('node:fs')
|
||
|
|
const { transcode } = require('node:buffer')
|
||
|
|
|
||
|
|
const buffer = transcode(readFileSync('./undici-fetch.js'), 'utf8', 'latin1')
|
||
|
|
|
||
|
|
writeFileSync('./undici-fetch.js', buffer.toString('latin1'))
|