Skip to content

Commit 19fa144

Browse files
fix(deps): update dependency tempy to v3
* fix(deps): update dependency tempy to v3 * fix(tempy): use named export 'temporaryFile' instead of tempy.file --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
1 parent cb20b2b commit 19fa144

File tree

3 files changed

+17
-610
lines changed

3 files changed

+17
-610
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { appendFileSync } from "fs";
33
import { Octokit } from "@octoherd/octokit";
44
import { createOAuthDeviceAuth } from "@octokit/auth-oauth-device";
55
import chalk from "chalk";
6-
import tempy from "tempy";
6+
import { temporaryFile } from "tempy";
77
import clipboardy from "clipboardy";
88
import enquirer from "enquirer";
99

@@ -36,7 +36,7 @@ export async function octoherd(options) {
3636
...userOptions
3737
} = options;
3838

39-
const tmpLogFile = tempy.file({ extension: "ndjson.log" });
39+
const tmpLogFile = temporaryFile({ extension: "ndjson.log" });
4040

4141
const plugins = [requestLog, requestConfirm];
4242
if (typeof octoherdCache === "string") plugins.push(octokitCachePlugin);

0 commit comments

Comments
 (0)