projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac05cc
)
Indentation fix
author
isaacs
<i@izs.me>
Mon, 30 Apr 2012 15:37:53 +0000
(08:37 -0700)
committer
isaacs
<i@izs.me>
Mon, 30 Apr 2012 20:09:31 +0000
(13:09 -0700)
src/process_wrap.cc
patch
|
blob
|
history
diff --git
a/src/process_wrap.cc
b/src/process_wrap.cc
index
4a43437
..
4c9eb42
100644
(file)
--- a/
src/process_wrap.cc
+++ b/
src/process_wrap.cc
@@
-163,9
+163,9
@@
class ProcessWrap : public HandleWrap {
// options.cwd
Local<Value> cwd_v = js_options->Get(String::NewSymbol("cwd"));
String::Utf8Value cwd(cwd_v->IsString() ? cwd_v : Local<Value>());
-
if (cwd.length() > 0) {
+ if (cwd.length() > 0) {
options.cwd = *cwd;
-
}
+ }
// options.env
Local<Value> env_v = js_options->Get(String::NewSymbol("envPairs"));