mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
typo
This commit is contained in:
parent
dbde3d0f41
commit
f7f1507e85
@ -9,7 +9,7 @@ const tmpPath = path.join(process.cwd(), ".tmp")
|
||||
const widgetsApi = "http://localhost:3040"
|
||||
const token = process.argv[2]
|
||||
|
||||
const exluded = [
|
||||
const excludedFiles = [
|
||||
"/.git",
|
||||
"/.tmp",
|
||||
"/bundle.7z",
|
||||
@ -24,7 +24,7 @@ async function copyToTmp(origin) {
|
||||
const filePath = path.join(origin, file)
|
||||
|
||||
// run a rexeg to check if the filePath is excluded
|
||||
const isExcluded = exluded.some((excludedPath) => {
|
||||
const isExcluded = excludedFiles.some((excludedPath) => {
|
||||
return filePath.match(excludedPath)
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user