fix(common): some nits

This commit is contained in:
Joshua A. Horton 2023-02-01 13:08:26 +07:00
parent 61a4a3af0d
commit e2d1b17dec
2 changed files with 4 additions and 3 deletions

View file

@ -8,11 +8,12 @@ set -eu
# adjust relative paths as necessary
THIS_SCRIPT="$(greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || readlink -f "${BASH_SOURCE[0]}")"
. "$(dirname "$THIS_SCRIPT")/../../../resources/build/build-utils.sh"
. "$KEYMAN_ROOT/resources/shellHelperFunctions.sh"
## END STANDARD BUILD SCRIPT INCLUDE
. "$KEYMAN_ROOT/resources/shellHelperFunctions.sh"
# This script runs from its own folder
cd "$(dirname "$THIS_SCRIPT")"
cd "$THIS_SCRIPT_PATH"
################################ Main script ################################

View file

@ -7,7 +7,7 @@ function displayHelp() {
console.log("");
console.log("Usage: node sourcemap-root <source.map> <dest.map> [-c|--clean] [-s|--sourceRoot <path>]");
console.log(" -c|--clean Runs source-filepath cleaning operations.");
console.log(" -s|--suffix <path> Sets the input sourcemap's 'sourceRoot' to <path>.");
console.log(" -s|--sourceRoot <path> Sets the input sourcemap's 'sourceRoot' to <path>.");
}
// By default, any node-based process has two command-line args: