Skip to content

Commit ae116c7

Browse files
committed
removing unused command and code
1 parent 255ee12 commit ae116c7

File tree

2 files changed

+0
-81
lines changed

2 files changed

+0
-81
lines changed

src/PatternLab/Console/Commands/FetchCommand.php

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/PatternLab/Fetch.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,6 @@
2323

2424
class Fetch {
2525

26-
/**
27-
* Fetch a package using Composer
28-
* @param {String} the path to the package to be downloaded
29-
*
30-
* @return {String} the modified file contents
31-
*/
32-
public function fetchPackage($package = "") {
33-
34-
if (empty($package)) {
35-
Console::writeError("please provide a path for the package before trying to fetch it...");
36-
}
37-
38-
// run composer
39-
$composerPath = Config::getOption("coreDir").DIRECTORY_SEPARATOR."bin/composer.phar";
40-
passthru("php ".$composerPath." require ".$package);
41-
42-
}
43-
4426
/**
4527
* Fetch a package from GitHub
4628
* @param {String} the command option to provide the rule for

0 commit comments

Comments
 (0)