Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/write_empty_ruby_project_to_disk.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "fileutils"
require "extract_repo"
require "shellwords"
require_relative "generate_empty_ruby_project"

module Foobara
Expand Down Expand Up @@ -197,7 +198,8 @@ def github_create_repo

puts "pushing to github..."

cmd = "gh repo create --private #{project_config.org_slash_project_kebab}"
description = Shellwords.escape(project_config.description)
cmd = "gh repo create --private #{project_config.org_slash_project_kebab} --description #{description}"
Comment thread
zhephyn marked this conversation as resolved.
exit_status = run_cmd_and_write_output(cmd, raise_if_fails: false)

unless exit_status&.success?
Expand Down
Loading