mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-09 17:19:59 +00:00
Fix build script type errors
This commit is contained in:
@@ -14,7 +14,7 @@ const esbuild = require("esbuild");
|
||||
function* walk(rootPath) {
|
||||
const pathsToWalk = [rootPath];
|
||||
while (pathsToWalk.length > 0) {
|
||||
const currentPath = pathsToWalk.pop();
|
||||
const currentPath = /** @type {string} */ (pathsToWalk.pop());
|
||||
if (fs.statSync(currentPath).isFile()) {
|
||||
yield currentPath;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user