mirror of
https://github.com/scratchfoundation/gh-pages.git
synced 2025-02-17 16:10:17 -05:00
fix check for error argument
This commit is contained in:
parent
b6eb464991
commit
663f5c7cdf
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ exports.publish = function publish(basePath, config, callback) {
|
|||
var done = function(arguments) {
|
||||
try {
|
||||
(callback || function(err) {
|
||||
if (!err) {
|
||||
if (!!err) {
|
||||
console.log(err)
|
||||
}
|
||||
})(arguments);
|
||||
|
|
Loading…
Reference in a new issue