You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Unexpected executable file at ${filepath}, GitHub API only supports non-executable files and directories. You may need to add this file to .gitignore`,
);
}
// Iterate through anything that may be a directory in either the
// current commit or the working directory
if(
(awaitcommit?.type())==="tree"||
(awaitworkdir?.type())==="tree"
){
// Iterate through these directories
returntrue;
}
if(
relativeStartDirectory&&
!filepath.startsWith(relativeStartDirectory)
){
// Ignore files that are not in the specified directory
returnnull;
}
if(filterFiles&&!filterFiles(filepath)){
// Ignore out files that don't match any specified filter
returnnull;
}
if(!workdir){
// File was deleted
deletions.push(filepath);
returnnull;
}else{
// File was added / updated
constarr=awaitworkdir.content();
if(!arr){
thrownewError(`Could not determine content of file ${filepath}`);