diff --git a/src/node.cc b/src/node.cc index 4664287d0d8..1f5e2c9abaf 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1163,9 +1163,9 @@ static Handle Chdir(const Arguments& args) { return Undefined(); } + static Handle Cwd(const Arguments& args) { HandleScope scope; - assert(args.Length() == 0); char *r = getcwd(getbuf, ARRAY_SIZE(getbuf) - 1); if (r == NULL) {