File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
lib/modules/page/task-actions
src/modules/page/task-actions Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ function getCommand(actionString) {
1010}
1111exports . getCommand = getCommand ;
1212function getParams ( actionString ) {
13- if ( typeof actionString !== 'string' ) {
14- console . log ( 'Error in tutorial with action command. Expected a string but received ' , actionString ) ;
15- return [ ] ;
16- }
1713 var parser = new parse_params_1 . default ( ) ;
1814 var command = getCommand ( actionString ) ;
1915 var params = actionString . substring ( command . length + 1 , actionString . length - 1 ) ;
Original file line number Diff line number Diff line change 1010 " tutorial"
1111 ],
1212 "bugs" : {
13- "url" : " //github.com/coderoad/atom-coderoad"
13+ "url" : " https: //github.com/coderoad/atom-coderoad"
1414 },
1515 "license" : " Apache" ,
1616 "author" : " Shawn McKay <shawn.j.mckay@gmail.com>" ,
2323 " *.md"
2424 ],
2525 "main" : " ./lib/index.js" ,
26- "repository" : " //github.com/coderoad/atom-coderoad" ,
26+ "repository" : " https: //github.com/coderoad/atom-coderoad" ,
2727 "scripts" : {
2828 "compile" : " tsc" ,
2929 "test" : " tsc test/*.ts src/typings.d.ts && ava"
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ export function getCommand(actionString: string): string {
1111}
1212
1313export function getParams ( actionString : string ) : string [ ] {
14- if ( typeof actionString !== 'string' ) {
15- console . log ( 'Error in tutorial with action command. Expected a string but received ' , actionString ) ;
16- return [ ] ;
17- }
1814 // content in brackets, split by comma
1915 let parser = new ParseParams ( ) ;
2016 let command = getCommand ( actionString ) ;
You can’t perform that action at this time.
0 commit comments