We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09cfb0f commit 2fd34a3Copy full SHA for 2fd34a3
packages/base/src/commands.ts
@@ -279,7 +279,7 @@ export function addCommands(
279
// FIXME: Saves to the currently open directory, while the above save is to the JupyterLab root directory.
280
// FIXME: Get "unsaved_project" from a constant
281
// FIXME: unsaved_project is getting saved even though we're trying not to!
282
- if (oldFilename && oldFilename.endsWith('unsaved_project')) {
+ if (oldFilename && !oldFilename.endsWith('unsaved_project')) {
283
app.serviceManager.contents.save(oldFilename, {
284
content: JSON.stringify(content),
285
format: 'text',
0 commit comments