mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
build: convert all release scripts to typescript (#44035)
* build: convert all release scripts to typescript * fix test imports * build: fix version bumper export * refactor: use as const * spec: fix bad type spec
This commit is contained in:
@@ -2,8 +2,6 @@ import { Octokit } from '@octokit/rest';
|
||||
import * as fs from 'node:fs';
|
||||
import { createGitHubTokenStrategy } from '../github-token';
|
||||
|
||||
if (!process.env.CI) require('dotenv-safe').load();
|
||||
|
||||
if (process.argv.length < 6) {
|
||||
console.log('Usage: upload-to-github filePath fileName releaseId');
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user