Skip to content

Commit

Permalink
[Chore] comments: replace git.io link with the original URL
Browse files Browse the repository at this point in the history
  • Loading branch information
liby committed Apr 28, 2022
1 parent db0970a commit 09cd1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/rules/no-unresolved.js
Expand Up @@ -67,7 +67,7 @@ function runResolverTests(resolver) {
options: [{ amd: true }] }),
rest({ code: 'require(["./does-not-exist"], function (bar) {})',
options: [{ amd: false }] }),
// magic modules: https://git.io/vByan
// magic modules: https://github.com/requirejs/requirejs/wiki/Differences-between-the-simplified-CommonJS-wrapper-and-standard-AMD-define#magic-modules
rest({ code: 'define(["require", "exports", "module"], function (r, e, m) { })',
options: [{ amd: true }] }),

Expand Down
2 changes: 1 addition & 1 deletion utils/moduleVisitor.js
Expand Up @@ -81,7 +81,7 @@ exports.default = function visitModules(visitor, options) {
if (typeof element.value !== 'string') continue;

if (element.value === 'require' ||
element.value === 'exports') continue; // magic modules: https://git.io/vByan
element.value === 'exports') continue; // magic modules: https://github.com/requirejs/requirejs/wiki/Differences-between-the-simplified-CommonJS-wrapper-and-standard-AMD-define#magic-modules

checkSourceValue(element, element);
}
Expand Down

0 comments on commit 09cd1b6

Please sign in to comment.