lib/shelr/publisher.rb in shelr-0.12.7 vs lib/shelr/publisher.rb in shelr-0.12.8

- old
+ new

@@ -26,10 +26,10 @@ private def ensure_unlocked(id) lock_path = File.join(Shelr.data_dir(id), 'lock') if File.exist?(lock_path) - puts "=> Cannot publish" + puts "=> Cannot publish the record (make sure it finished with exit or Ctrl+D)" puts "=> Record locked on #{File.read(lock_path)}" puts "=> Esure no other shelr process running" puts "=> Or remove lock file manually: #{lock_path}" exit 0 end