Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Bump template version (1.3.1)
  change circleci node image to 6.12.3 to ensure node 6 compat.
  replace object rest spread with Object.assign for node6 compat. (fix #1245)
  • Loading branch information
LinusBorg committed Jan 13, 2018
2 parents 8343cae + d8fb864 commit c29ab6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
10 changes: 5 additions & 5 deletions scenarios/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 : {}
)
}

0 comments on commit c29ab6a

Please sign in to comment.