Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIlyenko committed Feb 10, 2014
1 parent 8b5e3b9 commit d243329
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
10 changes: 5 additions & 5 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ module.exports = (grunt)->

meta:
banner: '/* ===========================================================\n' +
'# <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n' +
'# ==============================================================\n' +
'# Copyright (c) <%= grunt.template.today(\"yyyy\") %> <%= pkg.author.name %>\n' +
'# Licensed <%= _.pluck(pkg.licenses, \"type\").join(\", \") %>.\n' +
'*/\n'
'# <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n' +
'# ==============================================================\n' +
'# Copyright (c) <%= grunt.template.today(\"yyyy\") %> <%= pkg.author.name %>\n' +
'# Licensed <%= _.pluck(pkg.licenses, \"type\").join(\", \") %>.\n' +
'*/\n'

coffeelint:
options:
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exports.Connector = require('./lib/connector')
exports.Mapper = require('./lib/mapper')
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/sphereio/sphere-product-mapper"
"url": "git@github.com:sphereio/sphere-product-mapper.git"
},
"bugs": {
"url": "https://github.com/sphereio/sphere-product-mapper/issues"
Expand Down
7 changes: 3 additions & 4 deletions src/coffee/run.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ options =
client_id: argv.clientId
client_secret: argv.clientSecret

mapper = new Mapper options
mapper.run().then( () ->
(new Mapper options).run()
.then () ->
process.exit 0
).fail((error) ->
.fail (error) ->
console.err error
process.exit 1
)

0 comments on commit d243329

Please sign in to comment.