Move config name to const and change nostow to stowignore
This commit is contained in:
@ -24,7 +24,7 @@ $unwrap = $parsed->get('w');
|
||||
$stowName = $parsed->get('stow-directory');
|
||||
$stowPath = path($cwd, $stowName);
|
||||
|
||||
$config = new config($stowPath);
|
||||
$config = new config($stowPath, stow::CONFIG_FILE_NAME);
|
||||
$targetPath = $config->get('targetPath', dirname($stowPath, 2));
|
||||
|
||||
if (!is_dir($stowPath)) {
|
||||
|
Reference in New Issue
Block a user