Skip to content

Conversation

@gibson042
Copy link
Member

No description provided.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May wanna use something like this instead:

grunt.file.expandFiles( "test/unit/*.js" ).map(function ( path ) {
    return path.match( /^test\/unit\/(.+)\.js$/)[1];
});

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be a bigger change that way, and I wanted to keep this one super simple. The other tasks all expandFiles inside the task function, and I wasn't sure how deliberate that is.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be okay with a more general solution.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here 👍

@gibson042
Copy link
Member Author

@jquerybot retest

1 similar comment
@gibson042
Copy link
Member Author

@jquerybot retest

@gibson042 gibson042 closed this in ca26d45 Dec 13, 2012
mescoda pushed a commit to mescoda/jquery that referenced this pull request Nov 4, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants