mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-05 04:07:23 +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
|
@ -245,7 +245,7 @@ function wordWrapText(text, options) {
|
|||
|
||||
/*
|
||||
const iconv = require('iconv-lite');
|
||||
const input = iconv.decode(require('fs').readFileSync('/home/nuskooler/Downloads/msg_out.txt'), 'cp437');
|
||||
const input = iconv.decode(require('graceful-fs').readFileSync('/home/nuskooler/Downloads/msg_out.txt'), 'cp437');
|
||||
|
||||
const opts = {
|
||||
width : 80,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue