File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* eslint-disable camelcase */
2+
13import * as vscode from 'vscode'
24import * as child_process from 'child_process'
35
@@ -9,7 +11,7 @@ export function activate (context: vscode.ExtensionContext) {
911 context . subscriptions . push ( vscode . commands . registerCommand ( 'lowResNX.runFile' , ( ) => {
1012 const filename = vscode . window . activeTextEditor ?. document . fileName
1113 const cfg = vscode . workspace . getConfiguration ( 'lowResNX' )
12- const args = Array < string > ( )
14+ const args = [ ]
1315
1416 args . push ( '-fullscreen' )
1517 args . push ( cfg . run . fullScreen ? 'yes' : 'no' )
@@ -44,7 +46,7 @@ export function activate (context: vscode.ExtensionContext) {
4446 const process = child_process . spawn ( 'LowRes NX' , args )
4547
4648 process . on ( 'error' , ( ) => {
47- vscode . window . showInformationMessage ( 'Failed to start LowRes NX. Check that it is in your PATH' ) ;
49+ vscode . window . showInformationMessage ( 'Failed to start LowRes NX. Check that it is in your PATH' )
4850 } )
4951 } ) )
5052}
You can’t perform that action at this time.
0 commit comments