public
/
disk_build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93cf74b
)
Write deps file in indented rather than minified JSON
master
author
Nick Downing
<nick@ndcode.org>
Tue, 25 Jan 2022 07:02:53 +0000
(18:02 +1100)
committer
Nick Downing
<nick@ndcode.org>
Tue, 25 Jan 2022 07:02:53 +0000
(18:02 +1100)
disk_build.js
patch
|
blob
|
history
diff --git
a/disk_build.js
b/disk_build.js
index
6de11c4
..
62585d3
100644
(file)
--- a/
disk_build.js
+++ b/
disk_build.js
@@
-95,7
+95,7
@@
let disk_build = async (pathname, build_func, diag) => {
let out_deps_temp_pathname = out_deps_pathname + '.temp'
await fs_writeFile(
out_deps_temp_pathname,
- JSON.stringify(out_deps) + '\n',
+ JSON.stringify(out_deps
, null, 2
) + '\n',
{encoding: 'utf-8'}
)
await fs_rename(out_deps_temp_pathname, out_deps_pathname)