Fix build script to work in Docker build env
This commit is contained in:
@@ -2,8 +2,8 @@ import yaml from 'js-yaml';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
const inputDir = '../static/mapFiles/yaml';
|
||||
const outputDir = '../static/mapFiles/json';
|
||||
const inputDir = './static/mapFiles/yaml';
|
||||
const outputDir = './static/mapFiles/json';
|
||||
|
||||
if (!fs.existsSync(outputDir)) fs.mkdirSync(outputDir, { recursive: true });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user