Skip to content

Commit bebc0eb

Browse files
committed
fix: suppress deprecated punycode module warning
1 parent 7812d21 commit bebc0eb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bin/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env node
22

3+
// Suppress the deprecated punycode module warning
4+
// https://nodejs.org/api/deprecations.html#deprecations_dep0040_the_punycode_module_is_deprecated
5+
process.noDeprecation = true;
6+
37
require('@oclif/core').run()
48
.then(require('@oclif/core/flush'))
59
.catch(require('@oclif/core/handle'))

0 commit comments

Comments
 (0)