Commit f596a3c
fix: Ensure we set jupytext metadata to model
* When selectedFormts are empty, we return before setting jupytext metadata
* So, the changes are not being comitted to notebook model
* This commit fixes it by ensuring we always set metadata before returning
* Use console.debug instead of console.log to reduce log pollution
Signed-off-by: Mahendra Paipuri <[email protected]>1 parent 6c4b670 commit f596a3c
File tree
1 file changed
+3
-3
lines changed- jupyterlab/packages/jupyterlab-jupytext-extension/src
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | 259 | | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments