Skip to content

Commit

Permalink
use new source directory in prepublish script (#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
kedashoe committed Oct 9, 2017
1 parent 6cd9a6f commit a273770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepublish
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ README="${README//${PREVIOUS_VERSION%.*}${slash}ramda.min.js/${VERSION%.*}${slas
echo "$README" >README.md
git add README.md

for filename in $(find src -maxdepth 1 -name "*.js" | xargs grep --files-without-match "@since v") ; do
for filename in $(find source -maxdepth 1 -name "*.js" | xargs grep --files-without-match "@since v") ; do
cp -- $filename{,.tmp}
sed $'s/@memberOf R/@memberOf R\\\n * @since v'"$VERSION/" $filename.tmp >$filename
rm -- $filename.tmp
Expand Down

0 comments on commit a273770

Please sign in to comment.