src/generators/template/utils.js
function updateNodeScope(path) {
  if (!isGlobal(path)) {
    replacePathScope(path, path.node)

    return false
  }

  this.traverse(path)
}
function updateNodeScope(path) {
  if (!isGlobal(path)) {
    replacePathScope(path, path.node)

    return false
  }

  this.traverse(path)
}
function updateNodeScope ( path ) { if ( ! isGlobal ( path ) ) { replacePathScope ( path , path . node ) return false } this . traverse ( path ) }
Change the nodes scope adding the `scope` prefix
@param   { types.NodePath } path - containing the current node visited
@returns { boolean } return false if we want to stop the tree traversal
@context { types.visit }
Change the nodes scope adding the scope prefix