Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
ad32f7cb
Commit
ad32f7cb
authored
Sep 20, 2018
by
Zejun Lin
Committed by
QuanluZhang
Sep 20, 2018
Browse files
remove Buffer warning (#100)
parent
cdee9c36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/nni_manager/common/log.ts
src/nni_manager/common/log.ts
+2
-2
No files found.
src/nni_manager/common/log.ts
View file @
ad32f7cb
...
...
@@ -40,7 +40,7 @@ class BufferSerialEmitter {
private
writable
:
Writable
;
constructor
(
writable
:
Writable
)
{
this
.
buffer
=
new
Buffer
(
0
);
this
.
buffer
=
Buffer
.
alloc
(
0
);
this
.
emitting
=
false
;
this
.
writable
=
writable
;
}
...
...
@@ -61,7 +61,7 @@ class BufferSerialEmitter {
this
.
emit
();
}
});
this
.
buffer
=
new
Buffer
(
0
);
this
.
buffer
=
Buffer
.
alloc
(
0
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment