Skip to content

Commit

Permalink
style(all): remove line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Agius committed Mar 27, 2017
1 parent 7f1ef4a commit 380fb4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function getConfig(filePath: string): Promise<ConfigData> {
const configExtends = _.castArray<string>(config.extends);

for (const path of configExtends) {
config = _.merge(await getConfig(path), config);
config = _.merge({}, await getConfig(path), config);
}

return config;
Expand Down
1 change: 0 additions & 1 deletion src/validator/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export namespace Validator {
}

const msgSplit = /(.+)\((.+)\):\s{1}(.+)/.exec(commitMessage);

if (!msgSplit) {
throw new Error(`Commit message 'header' must be in this format: '<type>(<scope>): <subject>'`);
}
Expand Down

0 comments on commit 380fb4c

Please sign in to comment.