Skip to content

Commit fee8a49

Browse files
committed
Fix Linux bunyan exec
1 parent 8c7a7dd commit fee8a49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

edit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ export NODE_ENV=production
1212
export TUTORIAL_EDIT=1
1313
export NODE_PRESERVE_SYMLINKS=1
1414

15+
# Use a local bunyan if no other is found in the current environment
16+
if ! [ -x "$(command -v bunyan)" ]; then
17+
export PATH="$PATH:./node_modules/bunyan/bin"
18+
fi
19+
1520
npm --silent run -- gulp edit | bunyan -o short -l debug
1621

0 commit comments

Comments
 (0)