sisoe24 / Nuke-Tools

Found redundant literal in a logical expression JS-W1043
Anti-pattern
Minor
5 months ago5 months old
Logical expression with a literal operand will always evaluate to the same value
 44    const projectPySide = (await vscode.window.showInputBox({
 45        title: "PySide2 Version",
 46        placeHolder: "Version of PySide2",
 47        value: (getConfig("pysideTemplate.pysideVersion") as string) || "5.12.2", 48    })) as string;
 49
 50    const projectAuthor = (await vscode.window.showInputBox({
Logical expression with a literal operand will always evaluate to the same value
 38
 39    const projectPython = (await vscode.window.showInputBox({
 40        title: "Python version",
 41        value: (getConfig("pysideTemplate.pythonVersion") as string) || "~3.7.7", 42    })) as string;
 43
 44    const projectPySide = (await vscode.window.showInputBox({