diff --git a/constraints.pro b/constraints.pro index bf68e9d7fca4..7b86f851376a 100644 --- a/constraints.pro +++ b/constraints.pro @@ -64,9 +64,9 @@ gen_enforced_field(WorkspaceCwd, FieldName, ExpectedValue) :- % Get current value workspace_field(WorkspaceCwd, FieldName, CurrentValue), % Must not start with ./ already - \+ atom_concat('./', _, CurrentValue), + \+ atom_concat('"./', _, CurrentValue), % Store './' + CurrentValue in ExpectedValue - atom_concat('./', CurrentValue, ExpectedValue). + atom_concat('"./', CurrentValue, ExpectedValue). % Enforces that a dependency doesn't appear in both `dependencies` and `devDependencies` gen_enforced_dependency(WorkspaceCwd, DependencyIdent, null, 'devDependencies') :-