Skip to content

Commit

Permalink
Update to work with ES6
Browse files Browse the repository at this point in the history
- Seeing issues with object spread
```
'Unexpected token ...'
```
  • Loading branch information
Jason Ma committed Nov 6, 2018
1 parent 999dc58 commit 0969f4f
Show file tree
Hide file tree
Showing 2 changed files with 6,710 additions and 5,322 deletions.
2 changes: 1 addition & 1 deletion js/backend/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function processPath(currentPath) {
}
Waiting.end();
} else {
fs.readFile(currentPath, function(error, content) {
fs.readFile(currentPath, 'utf8', function(error, content) {
var err, tmp;
currentPath = path.relative(consoleArguments.project, currentPath);
if(error) {
Expand Down
Loading

0 comments on commit 0969f4f

Please sign in to comment.