Skip to content

Commit 5ad9f30

Browse files
refactor: add node: module prefix
Signed-off-by: Matthias Pichler <[email protected]>
1 parent 27ee947 commit 5ad9f30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.ci/validation/src/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616

1717
import { SWSchemaValidator } from "./index";
18-
import fs from "fs";
19-
import { join } from "path";
18+
import fs from "node:fs";
19+
import { join } from "node:path";
2020

2121
SWSchemaValidator.prepareSchemas();
2222

.ci/validation/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
import fs from "fs";
17+
import fs from "node:fs";
1818
import Ajv from "ajv";
1919
import addFormats from "ajv-formats";
20-
import { join } from "path";
20+
import { join } from "node:path";
2121
import yaml = require("js-yaml");
2222

2323
export module SWSchemaValidator {

0 commit comments

Comments
 (0)