Skip to content

--log-level param in ti_args breaks the build #16

@shodanuk

Description

@shodanuk

Running grunt dev -p ios with:

var ti_args= {
  ios: ["-p","ios","-T", "simulator", "--device-id","xxx-xxx-xxx-xxx-xxx", "--log-level", "trace"]
};

results in:

[INFO] Alloy compiled in 1.44946s
[WARN] Nothing to update.
titanium build --log-level info --platform ios --project-dir . --no-banner --no-progress-bars --no-prompt -p ios -T simulator --device-id 1483CA77-1291-43A7-A246-F2F6E8C15FC8 --log-level trace --appify
[ERROR] Invalid "--log-level" value "info,trace"

Accepted values:
   trace
   debug
   info
   warn
   error

For help, run: titanium help build


Done, without errors.

Something (I suspect grunt-titanium) is adding --log-level info by default.

Not sure if the problem is JAST or over at grunt-titanium.

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