From 151168b5cdbe61ecf3eefe91add23ebced0c0887 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 14 Sep 2024 15:24:19 +0800 Subject: [PATCH] fix: ignore punycode module is deprecated warning in node 22 close https://github.com/afc163/fanyi/issues/114 --- bin/fanyi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fanyi.js b/bin/fanyi.js index 1ca4dc8..a73201e 100755 --- a/bin/fanyi.js +++ b/bin/fanyi.js @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env node --no-deprecation const { Command } = require('commander'); const chalk = require('chalk');