mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
ddb42431d1
* build: configure pretter as formatter for most files * chore: reformat code (#1931) * chore: re-format all files * chore: force run quality anaylsis test Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com> Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
8 lines
165 B
TypeScript
8 lines
165 B
TypeScript
import fs from 'fs';
|
|
import path from 'path';
|
|
|
|
function readFile(filePath) {
|
|
return fs.readFileSync(path.join(__dirname, `/${filePath}`));
|
|
}
|
|
|
|
export { readFile };
|