Skip to content

Using shelljs in a CLI app. #91

@Jonovono

Description

@Jonovono

Hello. When I run shelljs in a CLI app I get the following message (even if I just include it):

to: wrong arguments

toEnd: wrong arguments.

So this is when it is inside a file that I just run something like ./bin/sh.

!/usr/bin/env node

Any thoughts on why this would be?

This is probably something really silly. But can someone take a look? This is the repo:

https://github.com/Jonovono/une

And you can see the occurance happening when I include shelljs in: https://github.com/Jonovono/UNE/blob/master/lib/files.js

Even if I have shell.mv commented out it still happens. If I include shelljs somewhere else it is fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions