The cloning caused comments that where added to the original node to be persisted into the cloned node. Espree/Acorn does not have any cloning, that's why it is working there. This change omits comments when cloning, as removing the cloning causes tests in babel to fail.
4 lines
57 B
JavaScript
Executable File
4 lines
57 B
JavaScript
Executable File
#!/usr/bin/env babel-node
|
|
|
|
import {spawn} from 'foobar';
|