Skip to content

Commit

Permalink
Merge pull request #468 from sanctuary-js/davidchambers/version-urls
Browse files Browse the repository at this point in the history
documentation: use placeholder for version-specific type URL
  • Loading branch information
davidchambers authored Dec 18, 2017
2 parents 1011b67 + af96f66 commit 5bfde14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
//. //
//. // The value at position 1 is not a member of ‘FiniteNumber’.
//. //
//. // See https://github.com/sanctuary-js/sanctuary-def/tree/v0.12.0#FiniteNumber for information about the sanctuary-def/FiniteNumber type.
//. // See v:sanctuary-js/sanctuary-def#FiniteNumber for information about the sanctuary-def/FiniteNumber type.
//. ```
//.
//. Compare this to the behaviour of Ramda's unchecked equivalent:
Expand Down
2 changes: 1 addition & 1 deletion scripts/version-urls
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var pkg = require('../package.json');
var deps = Object.assign({}, pkg.dependencies, pkg.devDependencies);

process.stdout.write(fs.readFileSync(process.argv[2], 'utf8').replace(
new RegExp(' v:(.+)/(.+)', 'g'),
/ v:(\S+)[/](\S+)/g,
function(_, owner, rest) {
var parts = rest.split(/(?=#)/);
var name = parts[0];
Expand Down

0 comments on commit 5bfde14

Please sign in to comment.