Skip to content

Commit a3b0b28

Browse files
remove unused class
1 parent 62ca431 commit a3b0b28

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

arduino-ide-extension/src/electron-main/theia/electron-main-application.ts

-11
Original file line numberDiff line numberDiff line change
@@ -805,17 +805,6 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
805805
}
806806
}
807807

808-
class InterruptWorkspaceRestoreError extends Error {
809-
public readonly isInterruptWorkspaceRestoreError = true;
810-
811-
constructor() {
812-
super(
813-
"Received 'open-file' event. Interrupting the default launch workflow."
814-
);
815-
Object.setPrototypeOf(this, InterruptWorkspaceRestoreError.prototype);
816-
}
817-
}
818-
819808
// This is a workaround for a limitation with the Theia CLI and `electron-builder`.
820809
// It is possible to run the `electron-builder` with `-c.extraMetadata.foo.bar=36` option.
821810
// On the fly, a `package.json` file will be generated for the final bundled application with the additional `{ "foo": { "bar": 36 } }` metadata.

0 commit comments

Comments
 (0)