Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse array incorrectly #3

Closed
JounQin opened this issue Sep 28, 2019 · 2 comments
Closed

parse array incorrectly #3

JounQin opened this issue Sep 28, 2019 · 2 comments

Comments

@JounQin
Copy link

@JounQin JounQin commented Sep 28, 2019

# input
"{use:[['less',{includePath:['$PWD/packages/ufc-host-app/src']}]]}"
// output
{
  "use": [
    [
      {
        "includePath": [
          "$PWD/packages/ufc-host-app/src"
        ]
      }
    ]
  ]
}
d3x0r pushed a commit that referenced this issue Sep 28, 2019
@d3x0r

This comment has been minimized.

Copy link
Owner

@d3x0r d3x0r commented Sep 28, 2019

Output from latest git version looks correct (see below); I bumped the version number, and published to npm as 1.1.115


Test Output1 :  {
        "use": [
                [
                        "less",
                        {
                                "includePath": [
                                        "$PWD/packages/ufc-host-app/src"
                                ]
                        }
                ]
        ]
}
@JounQin

This comment has been minimized.

Copy link
Author

@JounQin JounQin commented Sep 28, 2019

@d3x0r Cool.

@JounQin JounQin closed this Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.