You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that there is a bug where functions that get extracted from the exports and not from the default export object don't get wrapped by Hagana.
e.g: This works:
import { execSync } from 'child_process';
export function run () {
const result = execSync('node -v').toString();
console.log('RESULT=', result);
}
This doesn't:
import childProcess from 'child_process';
export function run () {
const result = childProcess.execSync('node -v').toString();
console.log('RESULT=', result);
}
The text was updated successfully, but these errors were encountered:
I believe that there is a bug where functions that get extracted from the
exports
and not from thedefault export
object don't get wrapped by Hagana.e.g: This works:
This doesn't:
The text was updated successfully, but these errors were encountered: