get-price-tag
Advanced tools
Comparing version 0.0.32 to 0.0.33
{ | ||
"name": "get-price-tag", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"main": "dist/commonjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -10,3 +10,3 @@ import fetch from "node-fetch"; | ||
/** Loop through root folders files recursively */ | ||
var walk = function (dir, done) { | ||
async function walk(dir, done) { | ||
var results = []; | ||
@@ -37,3 +37,3 @@ fs.readdir(rootDir, function (err, list) { | ||
walk(rootDir, function (err, results) { | ||
await walk(rootDir, function (err, results) { | ||
if (err) throw err; | ||
@@ -40,0 +40,0 @@ console.log(results); |
6972