Skip to content

Commit 66a2dfa

Browse files
committed
style: Update style for Prettier 1.8.0
1 parent 34d281c commit 66a2dfa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/load/release-rules.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ module.exports = ({releaseRules}) => {
2828
throw new Error('Error in commit-analyzer configuration: rules must be an object with a "release" property');
2929
} else if (RELEASE_TYPES.indexOf(rule.release) === -1) {
3030
throw new Error(
31-
`Error in commit-analyzer configuration: "${rule.release}" is not a valid release type. Valid values are: ${JSON.stringify(
32-
RELEASE_TYPES
33-
)}`
31+
`Error in commit-analyzer configuration: "${
32+
rule.release
33+
}" is not a valid release type. Valid values are: ${JSON.stringify(RELEASE_TYPES)}`
3434
);
3535
}
3636
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"eslint-plugin-promise": "^3.5.0",
3838
"eslint-plugin-standard": "^3.0.1",
3939
"nyc": "^11.1.0",
40-
"prettier": "^1.8.0",
40+
"prettier": "~1.8.0",
4141
"rimraf": "^2.6.1",
4242
"semantic-release": "^9.0.2",
4343
"sinon": "^4.0.2"

0 commit comments

Comments
 (0)