Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Mar 20, 2024
1 parent f17243b commit 4806ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ export function useCustomMetadata() {
if (ext && typeof ext.exports.dropCustomMetadata === 'boolean') {
return ext.exports.dropCustomMetadata ? false : true;
}
// Means ipynb extension has not yet been activated.
// Does not matter, we can just check the setting.
return !workspace.getConfiguration('jupyter', undefined).get<boolean>('experimental.dropCustomMetadata', false);
}

Expand Down

0 comments on commit 4806ff1

Please sign in to comment.