Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function init(): Promise {
const icon = await fetchCIStatus();
if (!icon) {
return false;
}
if (onetime.callCount(fetchCIStatus) > 1) {
icon.style.animation = 'none';
}
// Append to title (aware of forks and private repos)
appendBefore('.pagehead h1', '.fork-flag', icon);
}
async function init() {
const icon = await fetchStatus();
if (!icon) {
return false;
}
if (callCount(fetchStatus) > 1) {
icon.style.animation = 'none';
}
// Append to title (aware of forks and private repos)
appendBefore('.pagehead h1', '.fork-flag', icon);
}