Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Irish <paulirish@google.com>
  • Loading branch information
patrickhulce and paulirish committed Oct 9, 2020
1 parent e6c49b1 commit 2a5690e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/scripts/save-latest-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
set -euo pipefail

# Saves the necessary contents of the `latest-run/` folder to a subfolder for easier A/B comparison.
# Restoring the contents to `latest-run/` is just `cp latest-run/latest-run.bak/* latest-run/`.
# Restoring the contents to `latest-run/` is just `cp latest-run/latest-run-bak/* latest-run/`.

DIRNAME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
LH_ROOT="$DIRNAME/../.."
TARGET_DIR=${1:-latest-run.bak}
TARGET_DIR=${1:-latest-run-bak}

cd "$LH_ROOT/latest-run"
mkdir -p "$TARGET_DIR"
Expand Down

0 comments on commit 2a5690e

Please sign in to comment.