mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 17:04:16 +00:00
refactor(cloudfunc) typeof -> isString
This commit is contained in:
parent
590dc58fe5
commit
63917ba8b5
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ var Util;
|
|||
*/
|
||||
this.rmLastSlash = function(pPath) {
|
||||
var lRet = pPath,
|
||||
lIsStr = typeof pPath==='string',
|
||||
lIsStr = Util.isString(pPath),
|
||||
lLengh = pPath.length-1,
|
||||
lLastSlash = pPath.lastIndexOf('/');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue