[devdocsgjs/main: 1498/1867] fix: puts, not print




commit 8eee6128529ed91c641098f664c5ebfcb1663753
Author: Oliver Eyton-Williams <ojeytonwilliams gmail com>
Date:   Tue Feb 16 17:25:55 2021 +0100

    fix: puts, not print
    
    Co-authored-by: Simon Legner <Simon Legner gmail com>

 lib/tasks/docs.thor | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/tasks/docs.thor b/lib/tasks/docs.thor
index d7f93f46..0ecd7bdb 100644
--- a/lib/tasks/docs.thor
+++ b/lib/tasks/docs.thor
@@ -202,7 +202,7 @@ class DocsCLI < Thor
 
     docs.each do |doc|
       filename = "#{doc.path}.tar.gz"
-      print "[S3 bundle] Uploading #{filename}..."
+      puts "[S3 bundle] Uploading #{filename}..."
       cmd = "aws s3 cp #{File.join(Docs.store_path, filename)} s3://devdocs-downloads/#{filename} --profile 
devdocs"
       cmd << ' --dryrun' if options[:dryrun]
       system(cmd)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]