Skip to content

Commit 2af31a9

Browse files
chore: cleanup
1 parent 7ce41b0 commit 2af31a9

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/Device.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class Device {
9999

100100
this.state.main.subscribe(() => this.pymakr.refreshProvidersThrottled());
101101

102-
this._config = createMappedConfigObject("pymakr.devices", 'configs', this.id, configDefaults);
102+
this._config = createMappedConfigObject("pymakr.devices", "configs", this.id, configDefaults);
103103

104104
/** If true, device will disconnect at the end of execution queue */
105105
this.temporaryConnection = false;

src/Project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Project {
2727
} catch (err) {
2828
this.err = `Could not parse config: ${this.configFile.fsPath}`;
2929
this.pymakr.log.error("could not parse config:", this.configFile.fsPath);
30-
this.pymakr.notifier.notifications.couldNotParsePymakrConfig(this)
30+
this.pymakr.notifier.notifications.couldNotParsePymakrConfig(this);
3131
}
3232
}
3333

src/commands/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ class Commands {
541541

542542
/**
543543
* Uploads parent project to the device. Can only be accessed from devices in the projects view.
544-
* @param {ProjectDeviceTreeItem} treeItem
544+
* @param {{ device: Device, project: Project }} treeItem
545545
*/
546546
uploadProject: async ({ device, project }) => {
547547
if (project.watcher.active) {

src/utils/Notifier.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ class Notifier {
8585
const shouldStoreChoice = persistables.includes(choice) || (rememberable && (await this.askToStore(choice)));
8686
if (shouldStoreChoice === this.DONT_ASK_AGAIN) choice = this.DONT_ASK_AGAIN;
8787
if (shouldStoreChoice) {
88-
console.log("setting", `misc.notifications.${id}`, choice);
8988
const config = this.pymakr.config.get().get("misc.notifications");
9089
this.pymakr.config.get().update(`misc.notifications`, { ...config, [id]: choice });
9190
}

0 commit comments

Comments
 (0)