mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
style: Node Packages (#1394)
Add the `node:` prefix to imports of node internal packages, making it easier to differentiate
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import * as fs from 'fs';
|
import * as fs from 'node:fs';
|
||||||
import * as https from 'https';
|
import * as https from 'node:https';
|
||||||
import * as path from 'path';
|
import * as path from 'node:path';
|
||||||
|
|
||||||
import * as exec from '@actions/exec';
|
import * as exec from '@actions/exec';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import * as crypto from 'crypto';
|
import * as crypto from 'node:crypto';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'node:fs';
|
||||||
|
import * as path from 'node:path';
|
||||||
import * as gpg from 'gpg';
|
import * as gpg from 'gpg';
|
||||||
import * as path from 'path';
|
|
||||||
|
|
||||||
import * as core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
import {request} from 'undici';
|
import {request} from 'undici';
|
||||||
|
|||||||
Reference in New Issue
Block a user