Move config name to const and change nostow to stowignore

This commit is contained in:
Tim
2025-06-24 12:38:24 +02:00
parent 96ac0aecbe
commit b552933866
3 changed files with 9 additions and 5 deletions

View File

@ -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)) {