Skip to content

Commit

Permalink
style: cleanup some forgotten logs
Browse files Browse the repository at this point in the history
  • Loading branch information
demshy committed Sep 6, 2023
1 parent 09665c0 commit f824f71
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions packages/decap-cms-core/src/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ function collectionDepth(collection: Collection) {
}

function collectionRegex(collection: Collection): RegExp | undefined {
console.log('collection', collection.toJS());
let ruleString = '';

if (collection.get('path')) {
Expand All @@ -324,8 +323,6 @@ function collectionRegex(collection: Collection): RegExp | undefined {
ruleString += `\\.${defaultLocale}\\..*`;
}

console.log('ruleString', ruleString);

return ruleString ? new RegExp(ruleString) : undefined;
}

Expand Down
1 change: 0 additions & 1 deletion packages/decap-cms-core/src/reducers/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const notifications = produce((state: NotificationsState, action: NotificationsA
state.notifications = [];
break;
case NOTIFICATION_DISMISS:
console.log('dismissed!');
state.notifications = state.notifications.filter(n => n.id !== action.id);
break;
case NOTIFICATION_SEND:
Expand Down

0 comments on commit f824f71

Please sign in to comment.