Skip to content

Nested quotes with no spaces not handled #15

Closed
@rafamel

Description

@rafamel

Hi, congrats on the lib! It is a dependency for the exits bin, and I've found this to be an issue on string-argv@0.1.2:

const toArgv = require('string-argv');
console.log(toArgv('jake run:silent["echo 1"]'));

Expect: [ 'jake', 'run:silent["echo 1"]' ]
Get: [ 'jake', 'run:silent["echo 1"', ']' ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions