format
This commit is contained in:
parent
9cd2c8c29d
commit
61b2958b8b
@ -1,5 +1,3 @@
|
|||||||
import {tr} from "date-fns/locale";
|
|
||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
import parseTransducer from "../Transducer"
|
import parseTransducer from "../Transducer"
|
||||||
@ -17,7 +15,7 @@ function readFiles(dir) {
|
|||||||
|
|
||||||
if (isFile) {
|
if (isFile) {
|
||||||
const content = fs.readFileSync(filepath, 'utf8');
|
const content = fs.readFileSync(filepath, 'utf8');
|
||||||
files.push({ filepath, name, ext, stat, content });
|
files.push({filepath, name, ext, stat, content});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return files;
|
return files;
|
||||||
|
Loading…
Reference in New Issue
Block a user