Comparing version 0.0.20 to 0.0.21
@@ -71,4 +71,5 @@ 'use strict' | ||
addTask(task) { | ||
if (!(task instanceof Task)) { | ||
throw new TypeError('The Task must be a Task instance') | ||
console.log(task.constructor.name, task instanceof Task, typeof task) | ||
if (typeof task !== 'object') { | ||
throw new TypeError('The Task must be an Object instance') | ||
} | ||
@@ -75,0 +76,0 @@ const t = this.tasks.find(t => t.name === task.name) |
{ | ||
"name": "bootme", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "", | ||
@@ -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
15478
676