Skip to content

Commit

Permalink
🐛 FIX: logs and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
apolopena committed Mar 22, 2021
1 parent ea12a27 commit 2e2657b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions bash/before-tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ msg="git aliases have been written"
bash bash/utils.sh add_file_to_file_after \\[alias\\] bash/snippets/emoji-log ~/.gitconfig &&
bash bash/utils.sh add_file_to_file_after \\[alias\\] bash/snippets/git-aliases ~/.gitconfig &&
log_silent "$msg" &&
log_silent "\ntry: git a or: git aliases\nto see what is available.\n"
log_silent "try: git a or: git aliases to see what is available."

# grc color configuration for apache logs
msg="Creating grc color configuration file for apache logs in ~/apache-log-colors.conf"
Expand All @@ -52,9 +52,12 @@ else
log "ERROR: $msg" -e
fi

# Keep this at the bottom of the file
# Restores files marked as persistant
# See persist_file in bash/helpers.sh
# Restore files marked as persistant such
# as workspace-init.log
# See persist_file in bash/helpers.sh for how to system works
# Keep this block at the bottom of the file so that any logging from this
# script is only written to file upon initialization! Otherwise workspace-init.log
# will get written to from this script upon every wrokspace restart.
if [ $(bash bash/helpers.sh is_inited) == 1 ]; then
bash bash/helpers.sh restore_persistent_files $GITPOD_REPO_ROOT
fi

0 comments on commit 2e2657b

Please sign in to comment.