Skip to content

Commit ed67b50

Browse files
authored
Merge pull request #39 from oshliaer/fix_linux_bunyan_run
Fix Linux bunyan exec
2 parents 8c7a7dd + fee8a49 commit ed67b50

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)