sisoe24 / Nuke-Tools

Void operators found JS-0098
Anti-pattern
Minor
15 hours ago7 months old
Expected 'undefined' and instead saw 'void'
148
149    context.subscriptions.push(
150        vscode.commands.registerCommand("nuke-tools.testRunInsideNuke", () => {
151            void socket.sendDebugMessage();152        })
153    );
154
Expected 'undefined' and instead saw 'void'
142
143    context.subscriptions.push(
144        vscode.commands.registerCommand("nuke-tools.runCodeInsideNuke", () => {
145            void socket.sendMessage();146        })
147    );
148
Expected 'undefined' and instead saw 'void'
119
120    context.subscriptions.push(
121        vscode.commands.registerCommand("nuke-tools.launchNukeOptArgs", () => {
122            void executables.launchPromptExecutable();123        })
124    );
125}
Expected 'undefined' and instead saw 'void'
 81
 82    context.subscriptions.push(
 83        vscode.commands.registerCommand("nuke-tools.addPysideTemplate", () => {
 84            void nukeTemplate.createTemplate(); 85        })
 86    );
 87