Skip to content

Commit

Permalink
Use node:url
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 23, 2024
1 parent 895c902 commit bbbe233
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 2 additions & 0 deletions packages/action/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "@languine/action",
"version": "0.1.0",
"type": "module",
"dependencies": {
"octokit": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@languine/cli",
"version": "0.5.1",
"version": "0.5.2",
"type": "module",
"bin": "dist/index.js",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { execSync } from "node:child_process";
import fs from "node:fs";
import path from "node:path";
import { pathToFileURL } from "node:url";
import { confirm, outro, text } from "@clack/prompts";
import chalk from "chalk";
import dedent from "dedent";
import type { Config } from "./types.js";
import { pathToFileURL } from 'url';

export async function getApiKey(name: string, key: string) {
if (key in process.env) {
Expand Down

0 comments on commit bbbe233

Please sign in to comment.