Skip to content

Commit

Permalink
refactor(productImport): refactor log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Jůna committed Jan 23, 2019
1 parent 2573f36 commit 3db330b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coffee/run.coffee
Expand Up @@ -65,10 +65,10 @@ process.on 'SIGUSR2', -> logger.reopenFileStreams()
process.on 'exit', => process.exit(@exitCode)

removeZeroInventories = (importer, logger) ->
logger.info("Deleting zero inventories")
logger.info("Deleting inventories with zero quantity on stock")
importer.removeZeroInventories()
.then (removedInventoriesCount) ->
logger.info "Removed #{removedInventoriesCount} zero inventories"
logger.info "Removed #{removedInventoriesCount} inventories with zero quantity on stock"

importFn = (importer, fileName) ->
throw new Error 'You must provide a file to be processed' unless fileName
Expand Down

0 comments on commit 3db330b

Please sign in to comment.