Commit dc73441ff3f1ad53f7b3caeba32b3d4b9ac9d771
bring back the progress bar
Ev Bogue committed on 2/23/2019, 2:31:39 AMParent: d5c6f9521130fcae13928a86e3f39d88e2586342
Files changed
bin.js | changed |
bin.js | |||
---|---|---|---|
@@ -89,8 +89,12 @@ | |||
89 | 89 … | ||
90 | 90 … | // write RPC manifest to ~/.ssb/manifest.json | |
91 | 91 … | fs.writeFileSync(manifestFile, JSON.stringify(server.getManifest(), null, 2)) | |
92 | 92 … | ||
93 … | + | ||
94 … | + if(process.stdout.isTTY && (config.logging.level != 'info')) | ||
95 … | + ProgressBar(server.progress) | ||
96 … | + | ||
93 | 97 … | } else { | |
94 | 98 … | ||
95 | 99 … | // normal command: | |
96 | 100 … | // create a client connection to the server |
Built with git-ssb-web