Skip to content

Commit de0b4a7

Browse files
author
Gonzalo Diaz
committed
[BUGFIX] SonarQube: Prefer node:util over util.
Add the node: prefix to ES6 import statements when importing Node.js built-in modules.
1 parent 074d2db commit de0b4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackerrank/implementation/migratoryBirds.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @link Problem definition [[docs/hackerrank/implementation/migratoryBirds.md]]
33
*/
44

5-
import util from 'util';
5+
import util from 'node:util';
66
import { logger as console } from '../../logger.js';
77

88
function migratoryBirds(arr) {

0 commit comments

Comments
 (0)