Commit 8cd3acf7 authored by Erik Schwartz's avatar Erik Schwartz 🉐
Browse files

Merge branch 'refactor' into 'master'

Fix issue with property reference

See merge request !5
parents 9fda64fd 8540305b
......@@ -34,7 +34,7 @@ function auditNotebookName(o) {
appDebug(o);
const prop = 'name';
if (!o || !o.hasOwnProperty(prop)) printUsageAndExit();
if (!o.prop || typeof o.prop !== 'string') printUsageAndExit();
if (!o[prop] || typeof o[prop] !== 'string') printUsageAndExit();
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment