Skip to content

Commit

Permalink
Remove pesky leading whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
olamothe committed Mar 6, 2017
1 parent 134d442 commit 820549f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion read.version.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

export PACKAGE_JSON_VERSION=`cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | sed -E 's/\.[0-9]+$//g'`
export PACKAGE_JSON_VERSION=`cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | sed -E 's/\.[0-9]+$//g' | xargs`

0 comments on commit 820549f

Please sign in to comment.