fix(provider): json space

fix(provider):  json space
This commit is contained in:
Leifer Mendez
2023-01-03 12:30:03 +01:00
committed by GitHub
4 changed files with 3 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ module.exports = [
output: {
banner: banner['banner.output'].join(''),
file: join(__dirname, 'lib', 'json', 'index.cjs'),
format: 'cjs',
},
plugins: [commonjs()],
},

View File

@@ -32,7 +32,7 @@ class JsonFileAdapter {
}
saveData(data) {
writeFileSync(this.pathFile, JSON.stringify(data))
writeFileSync(this.pathFile, JSON.stringify(data, null, 2))
}
getPrevByNumber = async (from) => {