Comparing version 1.7.0 to 1.7.1
@@ -44,4 +44,4 @@ const binding = require('./binding') | ||
if (title.length > 256) { | ||
throw new Error('Process title is too long') | ||
if (title.length >= 256) { | ||
throw errors.TITLE_OVERFLOW('Process title is too long') | ||
} | ||
@@ -48,0 +48,0 @@ |
@@ -18,2 +18,6 @@ module.exports = class OSError extends Error { | ||
} | ||
static TITLE_OVERFLOW (msg) { | ||
return new OSError(msg, 'TITLE_OVERFLOW', OSError.TITLE_OVERFLOW) | ||
} | ||
} |
{ | ||
"name": "bare-os", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Operating system utilities for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23032
62