mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
Convert to using graceful-fs vs vanilla fs module
This commit is contained in:
parent
a49abc7c67
commit
019596d709
26 changed files with 27 additions and 26 deletions
|
@ -509,7 +509,7 @@ function createCleanAnsi(input, options, cb) {
|
|||
}
|
||||
|
||||
/*
|
||||
const fs = require('fs');
|
||||
const fs = require('graceful-fs');
|
||||
let data = fs.readFileSync('/home/nuskooler/Downloads/art3.ans');
|
||||
data = iconv.decode(data, 'cp437');
|
||||
createCleanAnsi(data, { width : 79, height : 25 }, (out) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue