Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing parenthesis in conditional. (fix #64)

  • Loading branch information...
commit 51ccb90c312c9c27dee316e5efef48f66651cb5f 1 parent 3de1b99
@arboleya authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/toaster.js
  2. +1 −1  src/toaster/toast.coffee
View
2  lib/toaster.js
@@ -101,7 +101,7 @@ var toaster = exports.toaster = {};
}
if (srcpath instanceof Object) {
params = srcpath;
- } else if (path.resolve(srcpath !== srcpath)) {
+ } else if ((path.resolve(srcpath)) !== srcpath) {
folder = path.join(this.basepath, srcpath);
}
if (params.release === null) {
View
2  src/toaster/toast.coffee
@@ -54,7 +54,7 @@ class Toast
toast:( srcpath, params = {} )=>
if srcpath instanceof Object
params = srcpath
- else if path.resolve srcpath != srcpath
+ else if (path.resolve srcpath) != srcpath
folder = path.join @basepath, srcpath
if params.release is null
Please sign in to comment.
Something went wrong with that request. Please try again.