[#270] bugfix: considering underscore a valid match in project identifier
This commit is contained in:
parent
1071f3eec9
commit
2e7f46c3ae
|
@ -238,7 +238,7 @@ projects.each do |project|
|
||||||
if project.identifier.empty?
|
if project.identifier.empty?
|
||||||
log("\tno identifier for project #{project.name}")
|
log("\tno identifier for project #{project.name}")
|
||||||
next
|
next
|
||||||
elsif not project.identifier.match(/^[a-z0-9\-]+$/)
|
elsif not project.identifier.match(/^[a-z0-9\-_]+$/)
|
||||||
log("\tinvalid identifier for project #{project.name} : #{project.identifier}");
|
log("\tinvalid identifier for project #{project.name} : #{project.identifier}");
|
||||||
next;
|
next;
|
||||||
end
|
end
|
||||||
|
@ -309,4 +309,3 @@ projects.each do |project|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue