Skip to content

Commit 2dbc286

Browse files
add withe-spaces
1 parent 4701dcb commit 2dbc286

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/loader.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ const createLoader = () => {
2929
);
3030

3131
const progressBar = createProgressBar('Loading files');
32+
3233
progressBar.start(resolvedFiles.length, 0);
3334

3435
return resolvedFiles.map(async filePath => {
3536
const fileContents = await readFile(filePath, 'utf-8');
3637
progressBar.increment();
38+
3739
// normally we stop the progress bar when the loop is done
3840
// but here we return the loop so we need to stop it when the last file is loaded
3941
if (progressBar.value === progressBar.total) {

0 commit comments

Comments
 (0)