File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ public function saveOutput()
103103
104104 $ directory = dirname ($ path );
105105 if (!is_dir ($ dir = $ directory )) {
106- $ this ->io ->write ("creating directory: {$ directory }" );
106+ $ this ->io ->write ("<info> creating directory</info> : {$ directory }" );
107107 mkdir ($ directory , 0755 , true );
108108 }
109109
110- $ this ->io ->write ("creating output: {$ path }" );
110+ $ this ->io ->write ("<info>save output into</info> : {$ path }" );
111111 file_put_contents ($ path , $ content );
112112 }
113113 }
@@ -130,22 +130,9 @@ public function processFiles($formatter)
130130 default :
131131 throw new \InvalidArgumentException ('available options are: xxx ' );
132132 }
133- // -f=format Set the output format, includes "default", "compressed"
134-
135- // switch ($formatter) {
136- // case 'compressed':
137- // case 'crunched':
138- // case 'expanded':
139- // case 'nested':
140- // case 'compact':
141- // $formatter = 'Leafo\\ScssPhp\\Formatter\\' . ucfirst($formatter);
142- // break;
143- // default:
144- // throw new \InvalidArgumentException('available options are: xxx');
145- // }
146133
147134 foreach ($ this ->files as $ file ) {
148- $ this ->io ->write ("processing file : {$ file ->getSourcePath ()}" );
135+ $ this ->io ->write ("<info> processing</info> : {$ file ->getSourcePath ()}" );
149136 $ file ->setSourceContentFromSourcePath ();
150137
151138 switch ($ file ->getType ()) {
You can’t perform that action at this time.
0 commit comments