Skip to content

Commit

Permalink
fix: Small changes at log
Browse files Browse the repository at this point in the history
  • Loading branch information
finom committed Sep 13, 2016
1 parent f127e72 commit 8b1db06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ for (const field of fields) {
});
}

console.log('Deploying to git...');
console.log(`Cloning to ${config.folder}...`);
console.log('Starting deploy to Git...');
console.log(`Cloning the repository to "${config.folder}" folder...`);
try {
execSync(`git clone -b ${config.branch} ${config.repository} ${config.folder} 2>&1`, { cwd });
} catch (e) {
throw Error('Failed to clone.');
}


console.log(`Starting script ${config.script}...`);
console.log(`Starting script "${config.script}"...`);
console.log(execSync(`${config.script}`, { cwd }).toString('utf-8'));

console.log('Configuring and committing...');
Expand Down

0 comments on commit 8b1db06

Please sign in to comment.