Skip to content

Commit

Permalink
refactor(pub): use autoReplace
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 8, 2020
1 parent 42480aa commit 6dd53d1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 179 deletions.
37 changes: 0 additions & 37 deletions lib/manager/pub/__snapshots__/update.spec.ts.snap

This file was deleted.

3 changes: 2 additions & 1 deletion lib/manager/pub/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import * as npmVersioning from '../../versioning/npm';

export { extractPackageFile } from './extract';
export { updateDependency } from './update';

export const autoReplace = true;

export const defaultConfig = {
fileMatch: ['(^|/)pubspec\\.ya?ml$'],
Expand Down
70 changes: 0 additions & 70 deletions lib/manager/pub/update.spec.ts

This file was deleted.

71 changes: 0 additions & 71 deletions lib/manager/pub/update.ts

This file was deleted.

0 comments on commit 6dd53d1

Please sign in to comment.