Commits

Fabrice Gabolde committed 2e7d6a1

Fix casperjs binary path lookup

  • Participants
  • Parent commits 810ad7b
  • Branches fix/path-lookup

Comments (0)

Files changed (1)

 
 sub run_casper {
     my $self      = shift;
-    my $full_path = can_run( $self->casper_path . 'casperjs' )
+    my $full_path = can_run( 'casperjs' )
       or croak
 'Cannot find casperjs on your system. Please make sure it is installed or the path provided is ok';
     my $silent_run = shift;