mirror of https://gitee.com/bigwinds/arangodb
fixed jslint warning
This commit is contained in:
parent
3f698acef8
commit
780c2a6caa
|
@ -1957,7 +1957,7 @@ function addCookie (res, name, value, lifeTime, path, domain, secure, httpOnly)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (lifeTime !== undefined && lifeTime !== null) {
|
if (lifeTime !== undefined && lifeTime !== null) {
|
||||||
cookie.lifeTime = parseInt(lifeTime);
|
cookie.lifeTime = parseInt(lifeTime, 10);
|
||||||
}
|
}
|
||||||
if (path !== undefined && path !== null) {
|
if (path !== undefined && path !== null) {
|
||||||
cookie.path = path;
|
cookie.path = path;
|
||||||
|
|
Loading…
Reference in New Issue