]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - lib/App/Rgit/Command/Once.pm
We need to chdir back to the cwd when we are over, so revert root_repo back to cwd_repo
[perl/modules/rgit.git] / lib / App / Rgit / Command / Once.pm
index f602ef154c76899aeaa664acf15880132803b220..88e77f892511a122a7c3a3f11966172b76400be5 100644 (file)
@@ -11,11 +11,11 @@ App::Rgit::Command::Once - Class for commands to execute only once.
 
 =head1 VERSION
 
-Version 0.01
+Version 0.02
 
 =cut
 
-our $VERSION = '0.01';
+our $VERSION = '0.02';
 
 =head1 DESCRIPTION
 
@@ -35,7 +35,7 @@ It implements :
 
 sub run {
  my ($self, $conf) = @_;
- $self->cwd_as_repo->run($conf, @{$self->args});
+ $conf->cwd_repo->run($conf, @{$self->args});
 }
 
 =head1 SEE ALSO