mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-10-24 04:35:05 +00:00
Move to @pezkuwi/dev 0.86 (eslint 10 toolchain)
- @pezkuwi/dev, dev-test, dev-ts ^0.86.2 - addrcheck.spec: optional call instead of a guard expression (@typescript-eslint/prefer-optional-chain) - checkRepoMeta: drop the initial value every path overwrites (no-useless-assignment) - ipfsUpload: drop a disable directive for a rule the toolchain no longer reports
This commit is contained in:
1 parent
3484813cde
commit
24877cdff9
5 files changed
+2529
-3279
No files matched your search
@@ -87,7 +87,7 @@ check('the whole repository agrees on one host', hosts.size === 1, [...hosts]);
|
||||
|
||||
// And that host is where the code actually is. Without this the metadata can be
|
||||
// internally consistent and still point somewhere the code has never been.
|
||||
let origin = '';
|
||||
let origin;
|
||||
|
||||
try {
|
||||
origin = execFileSync('git', ['remote', 'get-url', 'origin'], { encoding: 'utf8' }).trim();
|
||||
|
||||
@@ -101,7 +101,6 @@ async function main () {
|
||||
await unpin(hash);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line promise/catch-or-return
|
||||
main()
|
||||
.catch(console.error)
|
||||
.finally(() => process.exit());
|
||||
Reference in new issue
Block a user