Skip to content

Commit 22932c1

Browse files
christopherthielenmergify[bot]
authored andcommitted
chore(prettier): Just Update Prettier™️
1 parent fda6800 commit 22932c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: karma.conf.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ function karmaServedFiles(ngVersion) {
2424
];
2525
}
2626

27-
var angularFiles = angular(ngVersion).map(function(pattern) {
27+
var angularFiles = angular(ngVersion).map(function (pattern) {
2828
return { watched: false, included: true, nocache: true, pattern: pattern };
2929
});
3030

3131
return angularFiles.concat('test/index.js');
3232
}
3333

34-
module.exports = function(config) {
34+
module.exports = function (config) {
3535
var ngVersion = config.ngversion || DEFAULT_NG_VERSION;
3636

3737
config.set({

Diff for: rollup.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ const uglifyOpts = { output: {} };
3131
// retain multiline comment with @license
3232
uglifyOpts.output.comments = (node, comment) => comment.type === 'comment2' && /@license/i.test(comment.value);
3333

34-
const onwarn = warning => {
34+
const onwarn = (warning) => {
3535
// Suppress this error message... https://github.com/rollup/rollup/wiki/Troubleshooting#this-is-undefined
3636
const ignores = ['THIS_IS_UNDEFINED'];
37-
if (!ignores.some(code => code === warning.code)) {
37+
if (!ignores.some((code) => code === warning.code)) {
3838
console.error(warning.message);
3939
}
4040
};

0 commit comments

Comments
 (0)