forked from webosbrew/webos-homebrew-channel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix updateStartupScript in node v0.12.x
Buffer.indexOf() doesn't exist in old Node.js, so read the file into a string instead. This fixes "TypeError: undefined is not a function" when calling updateStartupScript. Also return a stack trace in the Luna payload on error to aid in debugging any future issues.
- Loading branch information
1 parent
d2389de
commit d22d827
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters