Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #285 from Polymer/FredKSchott-patch-1
Browse files Browse the repository at this point in the history
remove unneccesary console.log statement
  • Loading branch information
FredKSchott authored Jun 22, 2016
2 parents bb96362 + dd38ec6 commit 8ae1eaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/build/url-from-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import * as path from 'path';

export default function urlFromPath(root, filepath) {
console.log(root, filepath);
if (!filepath.startsWith(root)) {
throw new Error(`file path is not in root: ${filepath} (${root})`);
}
Expand All @@ -54,4 +53,4 @@ export default function urlFromPath(root, filepath) {

// Otherwise, just return the relative path between the two
return path.relative(root, filepath);
}
}

0 comments on commit 8ae1eaf

Please sign in to comment.