Skip to content

Commit

Permalink
Merge cd30153 into 67e7199
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Jul 16, 2019
2 parents 67e7199 + cd30153 commit e06d624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/file.js
Expand Up @@ -349,7 +349,7 @@ async function fetch(uri, options = {}, secure = true) {
* @returns {[string]} Stylesheet urls from document source
*/
function getStylesheetHrefs(file) {
if (!Vinyl.isVinyl(file)) {
if (!isVinyl(file)) {
throw new Error('Parameter file needs to be a vinyl object');
}

Expand All @@ -367,7 +367,7 @@ function getStylesheetHrefs(file) {
* @returns {[string]} Asset urls from stykesheet source
*/
function getAssets(file) {
if (!Vinyl.isVinyl(file)) {
if (!isVinyl(file)) {
throw new Error('Parameter file needs to be a vinyl object');
}

Expand Down

0 comments on commit e06d624

Please sign in to comment.