Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function executeIPFSCommand (...args) {

console.log('Running', global.IPFS_BINARY_PATH, args)
// Build the cmd
const cmd = global.IPFS_BINARY_PATH + ' ' + args.join(' ')
const cmd = `"${global.IPFS_BINARY_PATH}" ${args.join(' ')}`
const child = exec(cmd, options)

let output = ''
Expand Down Expand Up @@ -206,7 +206,7 @@ export function ensureRepoMigrated () {
options = { env: { IPFS_PATH: global.IPFS_REPO_PATH } }
}
// yes to all
const cmd = `${global.REPO_MIGRATIONS_BINARY_PATH} -y`
const cmd = `"${global.REPO_MIGRATIONS_BINARY_PATH}" -y`

console.log('Running', cmd, options)
const result = execSync(cmd, options).toString('utf8')
Expand Down