mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 13:53:22 +02:00
Fix code style
Signed-off-by: Crepieux Pierre <pierre.crepieux@orange.com>
This commit is contained in:
@@ -34,10 +34,11 @@ module.exports.match = function(candidates) {
|
||||
|
||||
// Export
|
||||
module.exports.requiredMatch = function(candidates) {
|
||||
matched = this.match(candidates)
|
||||
var matched = this.match(candidates)
|
||||
if(matched !== undefined) {
|
||||
return matched
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
throw new Error(util.format(
|
||||
'At least one of these paths should exist: %s'
|
||||
, candidates.join(', ')
|
||||
|
||||
Reference in New Issue
Block a user