From 18cdc19cd148297dda66188f097830739bad1c23 Mon Sep 17 00:00:00 2001 From: Eddie Antonio Santos Date: Thu, 22 Nov 2018 09:23:37 -0700 Subject: [PATCH] Minor style updates. --- common/predictive-text/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/predictive-text/build.sh b/common/predictive-text/build.sh index d54a93dbf4..12c0d2b2b9 100755 --- a/common/predictive-text/build.sh +++ b/common/predictive-text/build.sh @@ -6,7 +6,7 @@ # Fails the build if a specified file does not exist. assert ( ) { - if ! [ -f $1 ]; then + if ! [ -f "$1" ]; then fail "Build failed." exit 1 fi @@ -40,7 +40,7 @@ fail ( ) { # To get the inner source code, include the file generated by this function, # then use name.toString() where `name` is the name passed into this # function. -wrap_worker_code() { +wrap_worker_code ( ) { name="$1" js="$2" echo "// Autogenerated code. Do not modify!"