Skip to content

Commit

Permalink
feat(contentful-export): Add cf user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Jun 2, 2017
1 parent 72a18b1 commit 4f38292
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/parseOptions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { resolve } from 'path'

import { version } from '../package'
export default function parseOptions (params) {
const defaultOptions = {
exportDir: process.cwd(),
Expand Down Expand Up @@ -70,5 +70,6 @@ export default function parseOptions (params) {
}
}

options.managementApplication = options.managementApplication || `contentful.export/${version}`
return options
}

0 comments on commit 4f38292

Please sign in to comment.