projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc453b
)
Log error when repling on Windows
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Mon, 13 Jun 2016 16:46:33 +0000
(09:46 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Mon, 13 Jun 2016 16:46:33 +0000
(09:46 -0700)
default_app/main.js
patch
|
blob
|
history
diff --git
a/default_app/main.js
b/default_app/main.js
index
4bf4dac
..
9c66363
100644
(file)
--- a/
default_app/main.js
+++ b/
default_app/main.js
@@
-309,6
+309,12
@@
function loadApplicationByUrl (appUrl) {
}
function startRepl () {
+ if (process.platform === 'win32') {
+ console.error('Electron REPL not currently supported on Windows')
+ process.exit(1)
+ return
+ }
+
repl.start('> ').on('exit', () => {
process.exit(0)
})