File tree 1 file changed +3
-16
lines changed
1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ public function saveOutput()
103
103
104
104
$ directory = dirname ($ path );
105
105
if (!is_dir ($ dir = $ directory )) {
106
- $ this ->io ->write ("creating directory: {$ directory }" );
106
+ $ this ->io ->write ("<info> creating directory</info> : {$ directory }" );
107
107
mkdir ($ directory , 0755 , true );
108
108
}
109
109
110
- $ this ->io ->write ("creating output: {$ path }" );
110
+ $ this ->io ->write ("<info>save output into</info> : {$ path }" );
111
111
file_put_contents ($ path , $ content );
112
112
}
113
113
}
@@ -130,22 +130,9 @@ public function processFiles($formatter)
130
130
default :
131
131
throw new \InvalidArgumentException ('available options are: xxx ' );
132
132
}
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
- // }
146
133
147
134
foreach ($ this ->files as $ file ) {
148
- $ this ->io ->write ("processing file : {$ file ->getSourcePath ()}" );
135
+ $ this ->io ->write ("<info> processing</info> : {$ file ->getSourcePath ()}" );
149
136
$ file ->setSourceContentFromSourcePath ();
150
137
151
138
switch ($ file ->getType ()) {
You can’t perform that action at this time.
0 commit comments