drainpipe
drainpipe copied to clipboard
Pull gitlab / github installer code into new methods
This PR pulls is the first two commits from https://github.com/Lullabot/drainpipe/pull/114/commits that:
- Extracts private methods to reduce the length of the installCiCommands method.
- Adds an early return to manage some of the intense nesting the code currently has.