Skip to content

Commit

Permalink
updated to create()
Browse files Browse the repository at this point in the history
  • Loading branch information
trescube committed Feb 9, 2017
1 parent cfb8b53 commit 00e49c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions import.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var logger = require( 'pelias-logger' ).get( 'openaddresses' );
var parameters = require( './lib/parameters' );
var importPipeline = require( './lib/importPipeline' );

const adminLookup = require('pelias-wof-admin-lookup').createLookupStream();
const adminLookupStream = require('pelias-wof-admin-lookup');
var deduplicatorStream = require('./lib/streams/deduplicatorStream');

var addressDeduplicator = require('pelias-address-deduplicator');
Expand Down Expand Up @@ -47,5 +47,5 @@ if( 'exitCode' in args ){

var deduplicator = deduplicatorStream.create(peliasConfig, addressDeduplicator);

importPipeline.create( files, args.dirPath, deduplicator, adminLookup );
importPipeline.create( files, args.dirPath, deduplicator, adminLookupStream.create() );
}

0 comments on commit 00e49c7

Please sign in to comment.