File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function printUsage(){
3131 echo 'Usage : ' .PHP_EOL .
3232 '------------------------------------------------------------ ' .PHP_EOL .
3333 'Lint a CSS file : ' .PHP_EOL .
34- basename (__DIR__ ).'/ ' .basename (__FILE__ ).' css_file_path_to_lint.css ' .PHP_EOL .
34+ basename (__DIR__ ).'/ ' .basename (__FILE__ ).' css_file_path_to_lint.css ' .PHP_EOL .PHP_EOL .
3535 'Lint a CSS string : ' .PHP_EOL .
3636 basename (__DIR__ ).'/ ' .basename (__FILE__ ).' ".test { color: red; }" ' .PHP_EOL .
3737 '------------------------------------------------------------ ' .PHP_EOL .PHP_EOL ;
@@ -89,7 +89,7 @@ if(count($_SERVER['argv']) > 2){
8989
9090$ sFilePathOrCssString = $ _SERVER ['argv ' ][1 ];
9191if (!file_exists ($ sFilePathOrCssString )){
92- lintString ($ sFilePath );
92+ lintString ($ sFilePathOrCssString );
9393}
9494
9595$ sFilePath = $ sFilePathOrCssString ;
@@ -98,3 +98,4 @@ if(!is_readable($sFilePath)){
9898 exit (1 );
9999}
100100lintFile ($ sFilePath );
101+
You can’t perform that action at this time.
0 commit comments