Skip to content

Commit 601f644

Browse files
committed
Rename master to main
1 parent edb2ec6 commit 601f644

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

convert.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ const dumpModule = (ctx) => (obj) => {
117117
ctx.write("Jump to source: ");
118118
ctx.url(
119119
stripSource(obj.source),
120-
`https://github.com/effekt-lang/effekt/tree/master/${stripSource(obj.source)}`,
120+
`https://github.com/effekt-lang/effekt/tree/main/${stripSource(obj.source)}`,
121121
);
122122
ctx.write("<br>Example usage: ");
123123
ctx.url(
124124
`examples/stdlib/${obj.module.path}`,
125-
`https://github.com/effekt-lang/effekt/tree/master/examples/stdlib/${obj.module.path}`,
125+
`https://github.com/effekt-lang/effekt/tree/main/examples/stdlib/${obj.module.path}`,
126126
);
127127
dumpDoc(ctx)(obj.module.doc); // TODO
128128
obj.module.defs.forEach(dumpDefinition(ctx.updateDepth(ctx.depth + 1)));

static/module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function jumpToGithubOrigin(el, newTab) {
3333
return;
3434
}
3535
const { lineStart, lineEnd } = deconstructPosId(origin);
36-
const url = `https://github.com/effekt-lang/effekt/blob/master/${originSource}#L${lineStart}-L${lineEnd}`;
36+
const url = `https://github.com/effekt-lang/effekt/blob/main/${originSource}#L${lineStart}-L${lineEnd}`;
3737
openUrl(url, newTab);
3838
}
3939

@@ -45,7 +45,7 @@ function jumpToGithubSource(el, newTab) {
4545
return;
4646
}
4747
const { lineStart, lineEnd } = deconstructPosId(source);
48-
const url = `https://github.com/effekt-lang/effekt/blob/master/${sourceSource}#L${lineStart}-L${lineEnd}`;
48+
const url = `https://github.com/effekt-lang/effekt/blob/main/${sourceSource}#L${lineStart}-L${lineEnd}`;
4949
openUrl(url, newTab);
5050
}
5151

0 commit comments

Comments
 (0)