Skip to content

Commit

Permalink
remove debug console log and and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoweiprc committed Oct 31, 2024
1 parent bb2607d commit 4e49ff7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/insomnia/src/sync/git/git-vcs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,9 @@ export class GitVCS {
}: {
gitCredentials?: GitCredentials | null;
handledMergeConflicts: MergeConflict[];
commitMessage: string;
commitParent: string[];
}) {
commitMessage: string;
commitParent: string[];
}) {
console.log('[git] continue to merge after resolving merge conflicts', await this.getCurrentBranch());
for (const conflict of handledMergeConflicts) {
assertIsPromiseFsClient(this._baseOpts.fs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const SyncMergeModal = forwardRef<SyncMergeModalHandle>((_, ref) => {
isOpen: true,
labels,
});
// select the first conflict by default
setSelectedConflict(conflicts?.[0] || null);

window.main.trackSegmentEvent({
Expand Down
3 changes: 0 additions & 3 deletions packages/insomnia/src/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1146,9 +1146,6 @@ async function renderApp() {

// Store the last location in local storage
router.subscribe(({ location, navigation }) => {
if (location.pathname && navigation.location?.pathname) {
console.log('navigating', location.pathname, navigation.location?.pathname);
}
const match = matchPath(
{
path: '/organization/:organizationId',
Expand Down

0 comments on commit 4e49ff7

Please sign in to comment.