class Startling::Commands::CheckForLocalMods

Public Instance Methods

execute() click to toggle source
# File lib/startling/commands/check_for_local_mods.rb, line 8
def execute
  return if git.status.empty?

  logger.fatal "Local modifications detected, please stash or something."
  system("git status -s")
  exit 1
end