Fix bug.
This commit is contained in:
parent
e0e07be565
commit
2082585e0c
|
@ -70,9 +70,7 @@ module PersonalPluginGenerator
|
||||||
if %x[#{git} config user.email].empty?
|
if %x[#{git} config user.email].empty?
|
||||||
%x[#{git} config --global user.email "orbit@rulingcom.com"]
|
%x[#{git} config --global user.email "orbit@rulingcom.com"]
|
||||||
end
|
end
|
||||||
Thread.new do
|
system("#{git_add_except_public} ; #{git} commit -m auto_backup_before_#{type}_#{time_now} --allow-empty && #{git} reset #{commit} --mixed ; #{git_add_custom} ; #{git_restore} ; #{git_add_except_public} ; #{git} clean -f -- app/models ; #{git} commit -m complete_#{type}_#{time_now} --allow-empty")
|
||||||
system("#{git_add_except_public} ; #{git} commit -m auto_backup_before_#{type}_#{time_now} --allow-empty && #{git} reset #{commit} --mixed ; #{git_add_custom} ; #{git_restore} ; #{git_add_except_public} ; #{git} clean -f -- app/models ; #{git} commit -m complete_#{type}_#{time_now} --allow-empty")
|
|
||||||
end
|
|
||||||
puts "Updated! " + new_updates.first.to_s
|
puts "Updated! " + new_updates.first.to_s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue