mirror of
https://github.com/unraid/api.git
synced 2026-01-08 17:49:59 -06:00
chore: fix html escaper call
This commit is contained in:
2
.github/workflows/release-production.yml
vendored
2
.github/workflows/release-production.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
const fs = require('fs');
|
||||
const { escape } = require('html-escaper');
|
||||
|
||||
const releaseNotes = fs.readFileSync('release-notes.txt', 'utf8');
|
||||
const releaseNotes = escape(fs.readFileSync('release-notes.txt', 'utf8'));
|
||||
|
||||
if (!releaseNotes) {
|
||||
console.error('No release notes found');
|
||||
|
||||
Reference in New Issue
Block a user