diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d81538649..c5186160e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 vm_settings: &vm_settings docker: - - image: circleci/node:8.9.4-browsers + - image: circleci/node:6.12.3-browsers jobs: install_template_deps: diff --git a/package.json b/package.json index 645c01b4dc..db88d649df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-cli-template-webpack", - "version": "1.3.0", + "version": "1.3.1", "license": "MIT", "description": "A full-featured Webpack setup with hot-reload, lint-on-save, unit testing & css extraction.", "scripts": { diff --git a/scenarios/index.js b/scenarios/index.js index c99a7cdc92..662f16d8a3 100644 --- a/scenarios/index.js +++ b/scenarios/index.js @@ -11,9 +11,9 @@ const isTest = exports.isTest = index !== -1 const scenario = isTest && require(`./${scenarios[index]}.json`) exports.addTestAnswers = (metalsmith, options, helpers) => { - Object.assign(metalsmith.metadata(), { - isNotTest: !isTest, - ...(isTest ? scenario : undefined) - }) - // console.log(metalsmith.metadata()) + Object.assign( + metalsmith.metadata(), + { isNotTest: !isTest }, + isTest ? scenario : {} + ) } \ No newline at end of file