gradle-node-plugin icon indicating copy to clipboard operation
gradle-node-plugin copied to clipboard

NpmTask workingDir should be DirectoryProperty

Open wakingrufus opened this issue 1 year ago • 1 comments

NpmTask's workingDir property is currently a RegularFileProperty but it probably should be a DirectoryProperty similar to how NodeTask's workingDir property is.

I can implement this, if you wish, but I am not sure how you would want to handle breaking compatibility with existing code.

wakingrufus avatar Feb 21 '24 15:02 wakingrufus

Next version is going to be a major so feel free to send a PR :-) And no tests breaks with the change either, so this was potentially just an oversight when we moved to providers and properties 4 years ago

deepy avatar Mar 09 '24 10:03 deepy