Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 5413525

Browse files
authored
Merge release-v2.8.2 into master
2 parents 5ab8d9d + 31a1349 commit 5413525

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v2.8.2 (May 10, 2017)
2+
- Provided more detailed linting error message in copyright header tool
3+
14
## v2.8.1 (May 8, 2017)
25
- Fixes whitespace / newline management in copyright tool
36
- Fix to additional space added when --update flag passed into copyright tool

copyright/copyright.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ args
152152
})
153153

154154
if (error) {
155-
console.log(`${red}${blackBG}ERROR${defaultBG} - Please run the copyright headers tool in this project`)
155+
console.log(`${red}${blackBG}ERROR${defaultBG} - Some source files are missing copyright headers. Please run 'copyright --fix' on these files. Mobify projects are configured with an npm run task named 'copyright:fix' that you can use to do this.`)
156156
process.exit(1)
157157
} else {
158158
console.log(`${cyan}Copyright headers are present in target files`)
159-
}
159+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobify-code-style",
3-
"version": "2.8.1",
3+
"version": "2.8.2",
44
"description": "Code style guide and linting tools for Mobify",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)