[ci] format

This commit is contained in:
matthewp 2023-08-30 14:09:54 +00:00 committed by astrobot-houston
parent 1d2389cb6f
commit f206bde0ff

View file

@ -43,15 +43,19 @@ export async function getPackage<T>(
function tryResolve(packageName: string, cwd: string) {
return new Promise((resolve, reject) => {
resolvePackage(packageName, {
basedir: cwd,
}, (err) => {
if(err) {
reject(err);
} else {
resolve(0);
resolvePackage(
packageName,
{
basedir: cwd,
},
(err) => {
if (err) {
reject(err);
} else {
resolve(0);
}
}
});
);
});
}