title: (Problem when attempting to run .yaml file with artillery) TypeError: Cannot read property 'forEach' of undefined
body: <p>I am attempting to test a node.js app that uses socket.io with artillery, however I keep getting an error even when trying to parse the simplest of files. For example, this is my .yaml:</p>
  
  <pre><code>config:
    target: 'localhost'
    phases:
      - duration: 10
        arrivalRate: 1
  scenarios:
    - name: "asd"
    - flow:
      - emit:
          channel: 'enterGame'
  </code></pre>
  
  <p>And I keep getting this error:</p>
  
  <blockquote>
    <p>npm\node_modules\artillery\lib\commands\run.js:316
        scenario.flow.forEach(function(step) {
                      ^</p>
    
    <p>TypeError: Cannot read property 'forEach' of undefined</p>
  </blockquote>
  
  <p>How could I possibly fix this?</p>