mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +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 widgetsApi = "http://localhost:3040"
|
||||||
const token = process.argv[2]
|
const token = process.argv[2]
|
||||||
|
|
||||||
const exluded = [
|
const excludedFiles = [
|
||||||
"/.git",
|
"/.git",
|
||||||
"/.tmp",
|
"/.tmp",
|
||||||
"/bundle.7z",
|
"/bundle.7z",
|
||||||
@ -24,7 +24,7 @@ async function copyToTmp(origin) {
|
|||||||
const filePath = path.join(origin, file)
|
const filePath = path.join(origin, file)
|
||||||
|
|
||||||
// run a rexeg to check if the filePath is excluded
|
// run a rexeg to check if the filePath is excluded
|
||||||
const isExcluded = exluded.some((excludedPath) => {
|
const isExcluded = excludedFiles.some((excludedPath) => {
|
||||||
return filePath.match(excludedPath)
|
return filePath.match(excludedPath)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user