style: Node Packages (#1394)

Add the `node:` prefix to imports of node internal packages, making it easier to differentiate
This commit is contained in:
Marco Biedermann
2024-04-29 16:17:32 +02:00
committed by GitHub
parent 951ef79006
commit 1290bddc88
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
import * as fs from 'fs';
import * as https from 'https';
import * as path from 'path';
import * as fs from 'node:fs';
import * as https from 'node:https';
import * as path from 'node:path';
import * as exec from '@actions/exec';

View File

@@ -1,7 +1,7 @@
import * as crypto from 'crypto';
import * as fs from 'fs';
import * as crypto from 'node:crypto';
import * as fs from 'node:fs';
import * as path from 'node:path';
import * as gpg from 'gpg';
import * as path from 'path';
import * as core from '@actions/core';
import {request} from 'undici';