Skip to content

Commit fb06285

Browse files
committed
Remove code that uses dotenv
1 parent c04e820 commit fb06285

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

build/src/main.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@ import type { InputLocations, PackageDB } from './types'
44

55
import * as fs from 'fs'
66
import * as path from 'path'
7-
import { configDotenv } from 'dotenv'
87
import { getRepoBranches, git, gitReadFunc } from './git'
98

109
export type ReadFunc = (path: string) => Promise<string | undefined>
1110
export type WriteFunc = (path: string, data: Buffer | string) => Promise<void>
1211

1312
async function main() {
14-
configDotenv({ quiet: true })
15-
1613
const GITHUB_TOKEN = process.env['GITHUB_TOKEN']
1714
if (!GITHUB_TOKEN)
1815
throw new Error(

0 commit comments

Comments
 (0)