mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-15 21:11:02 +02:00
Dynamic (#77)
This commit is contained in:
parent
55247b7fcd
commit
991c84a1eb
1464 changed files with 225448 additions and 1985 deletions
8
tests/dynamic_fixtures/lang_detect/module.cjs
Normal file
8
tests/dynamic_fixtures/lang_detect/module.cjs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// CommonJS module — `.cjs` extension. Identifies as JavaScript.
|
||||
const { exec } = require("child_process");
|
||||
|
||||
function runCommand(payload) {
|
||||
exec("ls " + payload);
|
||||
}
|
||||
|
||||
module.exports = { runCommand };
|
||||
Loading…
Add table
Add a link
Reference in a new issue