[Bps-public-commit] r16699 - in Prophet/branches/init-and-clone: lib/Prophet/CLI

jesse at bestpractical.com jesse at bestpractical.com
Thu Nov 6 01:53:06 EST 2008


Author: jesse
Date: Thu Nov  6 01:53:05 2008
New Revision: 16699

Modified:
   Prophet/branches/init-and-clone/   (props changed)
   Prophet/branches/init-and-clone/lib/Prophet/CLI/Command.pm

Log:
 r49326 at 31b:  jesse | 2008-11-06 10:21:18 +0900
 * Dieing in editor is a lose


Modified: Prophet/branches/init-and-clone/lib/Prophet/CLI/Command.pm
==============================================================================
--- Prophet/branches/init-and-clone/lib/Prophet/CLI/Command.pm	(original)
+++ Prophet/branches/init-and-clone/lib/Prophet/CLI/Command.pm	Thu Nov  6 01:53:05 2008
@@ -63,13 +63,15 @@
     my $text = shift;
 
     # don't invoke the editor in a script, the test will appear to hang
-    die "Tried to invoke an editor in a test script!"
-        if $ENV{IN_PROPHET_TEST_COMMAND};
+    #die "Tried to invoke an editor in a test script!" if $ENV{IN_PROPHET_TEST_COMMAND};
 
     require Proc::InvokeEditor;
     return scalar Proc::InvokeEditor->edit($text);
 }
 
+
+
+
 =head2 edit_hash hash => hashref, ordering => arrayref
 
 Filters the hash through the user's C<$EDITOR> using L<Proc::InvokeEditor>.



More information about the Bps-public-commit mailing list