Skip to content

Commit

Permalink
Merge d883def into 295de2b
Browse files Browse the repository at this point in the history
  • Loading branch information
Hufschmidt committed Jan 9, 2018
2 parents 295de2b + d883def commit 71b9f0e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lib/puppet/type/shellvar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,27 +178,26 @@ def sync
end

def self.title_patterns
identity = lambda { |x| x }
[
[
/^((\S+)\s+in\s+(\S+))$/,
[
[ :name, identity ],
[ :variable, identity ],
[ :target, identity ]
[ :name ],
[ :variable ],
[ :target ]
]
],
[
/((\S+))/,
[
[ :name, identity ],
[ :variable, identity ]
[ :name ],
[ :variable ]
]
],
[
/(.*)/,
[
[ :name, identity ]
[ :name ]
]
]
]
Expand Down

0 comments on commit 71b9f0e

Please sign in to comment.