Skip to content

Commit ffeb762

Browse files
lint
1 parent 32411ae commit ffeb762

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/GitPanel.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,10 @@ export class GitPanel extends React.Component<IGitPanelProps, IGitPanelState> {
813813

814814
const clearSetting =
815815
this.props.settings.composite['clearOutputsBeforeCommit'];
816-
if (notebooksWithOutputs.length > 0 && clearSetting == null) {
816+
if (
817+
notebooksWithOutputs.length > 0 &&
818+
(clearSetting === null || clearSetting === undefined)
819+
) {
817820
const bodyWidget = new Widget();
818821
bodyWidget.node.innerHTML = `
819822
<div>

0 commit comments

Comments
 (0)