You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/11/06 17:24:20 UTC

[jira] [Commented] (CB-4866) Hooks executing in random order

    [ https://issues.apache.org/jira/browse/CB-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815002#comment-13815002 ] 

ASF subversion and git services commented on CB-4866:
-----------------------------------------------------

Commit c4a60cd414cb47c2765c63d96713778af8b11dd4 in branch refs/heads/master from [~shepheb]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=c4a60cd ]

[CB-4866] Execute hooks in ascending order of any leading numbers

Fall back to alphabetical searches if they don't start with numbers.

Includes tests for the new ordering behavior (which sorts 1.sh before
07.sh.


> Hooks executing in random order
> -------------------------------
>
>                 Key: CB-4866
>                 URL: https://issues.apache.org/jira/browse/CB-4866
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>            Reporter: Ivan Baktsheev
>            Assignee: Braden Shepherdson
>
> hooks launch order depends on node's fs.readdirSync function. this function ordering not guaranteed according to the https://github.com/joyent/node/issues/2545. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)