Add semicolon
This commit is contained in:
parent
f0bd5bffaa
commit
ea91d30ce4
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ function githubPath(base, subpath = '') {
|
|||
let repo = components.length >= 2 ? components[1] : 'samples';
|
||||
let branch = components.length >= 3 ? components[2] : 'main';
|
||||
let other = components.slice(3);
|
||||
other.push(subpath ? subpath : '')
|
||||
other.push(subpath ? subpath : '');
|
||||
other = other.join('/');
|
||||
|
||||
return `https://raw.githubusercontent.com/${user}/${repo}/${branch}/${other}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue