Merge pull request #5284 from ethereum/hideheadconsole

hide warning when there is no head in git
pull/5294/head^2
bunsenstraat 1 month ago committed by GitHub
commit f5a0859119
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      libs/remix-ui/git/src/lib/gitactions.ts

@ -132,7 +132,6 @@ export const showCurrentBranch = async () => {
const currentHead = await getCommitFromRef('HEAD'); const currentHead = await getCommitFromRef('HEAD');
dispatch(setCurrenHead(currentHead)); dispatch(setCurrenHead(currentHead));
} catch (e) { } catch (e) {
console.log(e)
dispatch(setCurrenHead('')); dispatch(setCurrenHead(''));
} }

Loading…
Cancel
Save