Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix log format #12

Merged
merged 2 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/sparo-lib/src/services/GitSparseCheckoutService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ ${availableProfiles.join(',')}
{
const stopwatch: Stopwatch = Stopwatch.start();
this.initializeRepository();
terminal.writeLine('Initialize repo sparse checkout. (%s)', stopwatch.toString());
terminal.writeLine(`Initialize repo sparse checkout. (${stopwatch.toString()})`);
stopwatch.stop();
}

Expand Down Expand Up @@ -209,7 +209,7 @@ ${availableProfiles.join(',')}
if (toSelectors.size !== 0 || fromSelectors.size !== 0) {
const stopwatch: Stopwatch = Stopwatch.start();
targetFolders = this._getTargetFoldersByRushList({ toSelectors, fromSelectors });
terminal.writeLine('Run rush list command. (%s)', stopwatch.toString());
terminal.writeLine(`Run rush list command. (${stopwatch.toString()})`);
stopwatch.stop();
} else {
terminal.writeDebugLine('Skip rush list regarding the absence of from selectors and to selectors');
Expand Down Expand Up @@ -239,7 +239,7 @@ ${availableProfiles.join(',')}
});
}
}
terminal.writeLine('Sparse checkout target folders. (%s)', stopwatch.toString());
terminal.writeLine(`Sparse checkout target folders. (${stopwatch.toString()})`);
stopwatch.stop();
}
}
Expand Down
10 changes: 10 additions & 0 deletions common/changes/sparo/fix-log-format_2024-02-22-02-44.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "sparo",
"comment": "Fix log format",
"type": "none"
}
],
"packageName": "sparo"
}