mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-04-20 03:02:51 -04:00
style(prettier): format source files
This commit is contained in:
@@ -31,7 +31,12 @@ const getGitRemotes = async () => {
|
||||
|
||||
const hasUpstreamBranch = async (): Promise<boolean> => {
|
||||
try {
|
||||
await execa('git', ['rev-parse', '--abbrev-ref', '--symbolic-full-name', '@{u}']);
|
||||
await execa('git', [
|
||||
'rev-parse',
|
||||
'--abbrev-ref',
|
||||
'--symbolic-full-name',
|
||||
'@{u}'
|
||||
]);
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user