Skip to content

Commit 50e3790

Browse files
committed
Updated comment, fixed if check
1 parent 91c8db8 commit 50e3790

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

generate/partials/field_accessors.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void {{ cppClassName }}::{{ field.name }}_asyncAfter(uv_work_t* req, int status)
9393
{{ field.name|titleCase }}Baton* baton = static_cast<{{ field.name|titleCase }}Baton*>(req->data);
9494
{{ cppClassName }}* instance = static_cast<{{ cppClassName }}*>(baton->payload);
9595

96-
if (!instance->{{ field.name }}->IsEmpty()) {
96+
if (instance->{{ field.name }}->IsEmpty()) {
9797
{%if field.returnType == "int" %}
9898
baton->result = {{ field.returnNoResults }}; // no results acquired
9999
{%endif%}

test/tests/clone.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ describe("Clone", function() {
4343
});
4444
});
4545

46-
// FIXME: Anyone know how to start and use ssh-agent in Windows?
46+
// Currently waiting on AppVeyor to support an interactive Windows Service
47+
// builder, so we can correctly run pageant.exe.
4748
var testSsh = process.platform === "win32" ? it.skip : it;
4849

4950
testSsh("can clone with ssh", function() {

0 commit comments

Comments
 (0)