Skip to content

Commit

Permalink
Detect scoped packages
Browse files Browse the repository at this point in the history
  • Loading branch information
GendelfLugansk committed Dec 2, 2022
1 parent 1e415ad commit 8d55506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/blueprint.js
Expand Up @@ -1508,7 +1508,7 @@ let Blueprint = CoreObject.extend({
Blueprint.lookup = function (name, options) {
options = options || {};

if (name.includes(path.sep)) {
if (name.includes(path.sep) && name.substring(0, 1) !== '@') {
let blueprintPath = path.resolve(name);
let isNameAPath = Boolean(blueprintPath);

Expand Down

0 comments on commit 8d55506

Please sign in to comment.