}
// if file exists, do not try and delete it.
- if (FileUtils.test(cmd.rm, FileTest.EXISTS)) {
+ if (FileUtils.test(cmd.vname, FileTest.EXISTS)) {
break;
}
try {
// catch notification failures.. so we can carry on..
- if (success.length) {
+ if (success.length > 0) {
var notification = new Notify.Notification(
notification.show();
}
- if (failure.length) {
+ if (failure.length > 0) {
var notification = new Notify.Notification({
summary: "Git Live ERROR!!",