diff --git a/docker/scripts/check-config.js b/docker/scripts/check-config.js index 4dc32d9aa..48d4218de 100644 --- a/docker/scripts/check-config.js +++ b/docker/scripts/check-config.js @@ -1,8 +1,8 @@ const fs = require('fs'); const path = require('path'); -const configPath = path.join(__dirname, '../src/assets/config/config.json'); -const templatePath = path.join(__dirname, '../src/assets/config/template.json'); +const configPath = path.join(__dirname, '../../src/assets/config/config.json'); +const templatePath = path.join(__dirname, '../../src/assets/config/template.json'); if (!fs.existsSync(configPath)) { console.log('[INFO] config.json not found. Copying from template.json...'); diff --git a/package.json b/package.json index 056c09220..32a66595a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "ng": "ng", "analyze-bundle": "ng build --configuration=analyze-bundle && source-map-explorer dist/**/*.js --no-border-checks", "build": "ng build", - "check:config": "node ./docker/check-config.js", + "check:config": "node ./docker/scripts/check-config.js", "ci:test": "jest", "ci:test:coverage": "jest --coverage", "docs": "./node_modules/.bin/compodoc -p tsconfig.docs.json --name 'OSF Angular Documentation' --theme 'laravel' -s",