Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dschep committed Dec 13, 2018
1 parent 63fb130 commit e99e71d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/classes/Variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ class Variables {
(context, contents) => contents.trim()
);
if (!cleaned.match(/".*"/)) {
cleaned = cleaned.replace(/\s/g, '')
cleaned = cleaned.replace(/\s/g, '');
}
return cleaned
return cleaned;
}
/**
* @typedef {Object} MatchResult
Expand Down
2 changes: 1 addition & 1 deletion lib/classes/Variables.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ describe('Variables', () => {
it('should accept whitespace in variables', () => {
service.custom = {
val0: '${self: custom.val}',
val: 'foobar'
val: 'foobar',
};
const expected = {
val: 'foobar',
Expand Down

0 comments on commit e99e71d

Please sign in to comment.