diff --git a/src/node.ts b/src/node.ts index 5bfef620727c..a8d7661407d0 100644 --- a/src/node.ts +++ b/src/node.ts @@ -7,7 +7,7 @@ const completionSpec: Fig.Subcommand = { name: "node script", isScript: true, generators: filepaths({ - extensions: ["mjs", "js"], + extensions: ["mjs", "js", "cjs"], editFileSuggestions: { priority: 76 }, }), },