Skip to content

Commit

Permalink
fix(migration): Remove path join (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya authored May 27, 2019
1 parent eda8096 commit 2f91067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const createRun = ({ shouldThrow }) => async function run (argv) {
const client = createManagementClient(clientConfig)
const makeRequest = function (requestConfig) {
const config = Object.assign({}, requestConfig, {
url: path.join(clientConfig.spaceId, 'environments', clientConfig.environmentId, requestConfig.url)
url: [clientConfig.spaceId, 'environments', clientConfig.environmentId, requestConfig.url].join('/')
})
return client.rawRequest(config)
}
Expand Down

0 comments on commit 2f91067

Please sign in to comment.