File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ public function fetchPackage($package = "") {
34
34
if (empty ($ package )) {
35
35
Console::writeError ("please provide a path for the package before trying to fetch it... " );
36
36
}
37
-
37
+
38
38
// run composer
39
39
$ composerPath = Config::getOption ("coreDir " ).DIRECTORY_SEPARATOR ."bin/composer.phar " ;
40
40
passthru ("php " .$ composerPath ." require " .$ package );
41
-
42
- }
43
41
42
+ }
43
+
44
44
/**
45
45
* Fetch a package from GitHub
46
46
* @param {String} the command option to provide the rule for
@@ -49,12 +49,12 @@ public function fetchPackage($package = "") {
49
49
* @return {String} the modified file contents
50
50
*/
51
51
public function fetchStarterKit ($ starterkit = "" ) {
52
-
52
+
53
53
// double-checks options was properly set
54
54
if (empty ($ starterkit )) {
55
55
Console::writeError ("please provide a path for the starterkit before trying to fetch it... " );
56
56
}
57
-
57
+
58
58
// set default attributes
59
59
$ sourceDir = Config::getOption ("sourceDir " );
60
60
$ tempDir = sys_get_temp_dir ();
You can’t perform that action at this time.
0 commit comments