Skip to content

Commit b9042ce

Browse files
committed
fix: release-please fails to update issues
add missing `node:` prefixes Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
1 parent baf8cc2 commit b9042ce

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
permissions:
77
contents: write
88
pull-requests: write
9+
issues: write
910

1011
name: release-please
1112

esbuild.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// - Modern Node.js target alignment with VS Code runtime
1414

1515
import * as esbuild from "esbuild";
16-
import * as fs from "fs";
17-
import * as path from "path";
16+
import * as fs from "node:fs";
17+
import * as path from "node:path";
1818

1919
const production = process.argv.includes("--production");
2020
const watch = process.argv.includes("--watch");

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as vscode from "vscode";
2-
import * as path from "path";
3-
import * as fs from "fs";
2+
import * as path from "node:path";
3+
import * as fs from "node:fs";
44
import { WitSyntaxValidator } from "./validator.js";
55
import { isWasmComponentFile } from "./wasmDetection.js";
66
import {

src/wasmDetection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as fs from "fs";
1+
import * as fs from "node:fs";
22

33
/**
44
* Read the first 8 bytes of a WebAssembly file and return header info.

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from "vitest/config";
2-
import path from "path";
2+
import path from "node:path";
33

44
export default defineConfig({
55
test: {

0 commit comments

Comments
 (0)