mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 18:19:11 +00:00
Refactor Docker build workflows (#1221)
* Initial implementation * Multiple fixes and improvemens * Better `curl` retries timing * Remove unused `TARGETOS` and `TARGETVARIANT` vars; add the version fetch fallback code to the build scripts * Move the fallback code before the var usage * Use double braces to make the code compatible with the `set -u` --------- Co-authored-by: Konstantin Koval
This commit is contained in:
@@ -6,7 +6,7 @@ const schemasFolder = path.join(__dirname, '..', 'api', 'graphql', 'resolvers');
|
||||
|
||||
let completeSchema;
|
||||
try {
|
||||
completeSchema = readdirSync(schemasFolder)
|
||||
completeSchema = readdirSync(schemasFolder)
|
||||
.filter(x => x.endsWith('.graphql'))
|
||||
.map(x => {
|
||||
const filePath = path.join(schemasFolder, x);
|
||||
|
||||
Reference in New Issue
Block a user