We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c04e820 commit fb06285Copy full SHA for fb06285
build/src/main.ts
@@ -4,15 +4,12 @@ import type { InputLocations, PackageDB } from './types'
4
5
import * as fs from 'fs'
6
import * as path from 'path'
7
-import { configDotenv } from 'dotenv'
8
import { getRepoBranches, git, gitReadFunc } from './git'
9
10
export type ReadFunc = (path: string) => Promise<string | undefined>
11
export type WriteFunc = (path: string, data: Buffer | string) => Promise<void>
12
13
async function main() {
14
- configDotenv({ quiet: true })
15
-
16
const GITHUB_TOKEN = process.env['GITHUB_TOKEN']
17
if (!GITHUB_TOKEN)
18
throw new Error(
0 commit comments