Commit a192c790 authored by Kim, Hyeonseo's avatar Kim, Hyeonseo
Browse files

feat: change alias detect logic

parent 59d5471f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ export const command = new Command()
  )
  .option("-u, --user-agent <string>", "The custom User-Agent header value.")
  .action(async (options, host: string) => {
    if (Deno.args[0] === "node") {
    if (Deno.args.includes("node")) {
      console.warn(
        "Warning: `fedify node` will be deprecated in Fedify 2.0.0. Use `fedify nodeinfo` instead.",
      );