Skip to content

Commit

Permalink
chore: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghustavh97 committed Oct 15, 2020
1 parent 18142e7 commit 13ebb2e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/location.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ const Location = function (instance, source, destination) {
};

Location.prototype = {
basename: function (location) {
if (process.platform == "win32") {
return path.win32.basename(location);
}

return path.posix.basename(location);
},
exists: function (location) {
return fs.existsSync(location);
},
Expand Down

0 comments on commit 13ebb2e

Please sign in to comment.