Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Error: Column start greater than line error #113

Open
apazga opened this issue Jan 25, 2017 · 3 comments
Open

Error: Column start greater than line error #113

apazga opened this issue Jan 25, 2017 · 3 comments

Comments

@apazga
Copy link

apazga commented Jan 25, 2017

It seems the line break (I think) is causing some mess in this simple code:

The following code:

class test ()
{
  # Install command
  $install_command = "make && \
                      ${command}"
}

Produces this:

Error: Column start (55) greater than line length (31)
Error: Column start (55) greater than line length (31)
    at Object.rangeFromLineNumber (C:\Users\Abel\.atom\packages\linter-puppet-lint\node_modules\atom-linter\lib\index.js:179:11)
    at file:///C:/Users/Abel/.atom/packages/linter-puppet-lint/lib/main.js:101:32
    at Array.forEach (native)
    at file:///C:/Users/Abel/.atom/packages/linter-puppet-lint/lib/main.js:95:33
    at process._tickCallback (internal/process/next_tick.js:103:7)

Tested on Atom 1.14.0-beta0 ia32 (Windows) & 1.13.0 stable x64 (MacOS)

@mschuchard
Copy link
Member

Yeah that theory is probably correct. Unfortunately I can't really immediately think of a way to resolve the way Puppet-Lint is parsing the file versus how Atom parses it.

@den-is
Copy link

den-is commented May 15, 2017

same here

@yakirgb
Copy link

yakirgb commented Sep 14, 2017

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants