Indenting: Arrays split by line #10

Closed
xironix opened this Issue Aug 23, 2012 · 1 comment

Comments

Projects
None yet
3 participants
@xironix
Contributor

xironix commented Aug 23, 2012

When indenting puppet code, it won't indent some arrays correctly. For example (proper indentation):

exec { 'some_command':
  command => '/usr/bin/some_command',
  require => [
    File['/etc/some_file.conf'],
    Package['some_package],
  ],                 # Correct indentation
  onlyif => 'true';  # Correct indentation
}

Will be automatically indented like this (improper indentation):

exec { 'some_command':
  command => '/usr/bin/some_command',
  require => [
    File['/etc/some_file.conf'],
    Package['some_package],
    ],                 # Incorrect indentation
    onlyif => 'true';  # Incorrect indentation
}
@evaryont

This comment has been minimized.

Show comment Hide comment
@evaryont

evaryont Feb 23, 2013

Contributor

I guess this can be cloesd since the pull request was pulled in.

Contributor

evaryont commented Feb 23, 2013

I guess this can be cloesd since the pull request was pulled in.

@rodjek rodjek closed this Jun 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment