Skip to content

Commit

Permalink
[APM] Correct relative paths in scripts (elastic#66159)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed May 12, 2020
1 parent 261e30f commit 2f2da95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { argv } from 'yargs';

const config = yaml.safeLoad(
fs.readFileSync(
path.join(__filename, '../../../../../../../config/kibana.dev.yml'),
path.join(__filename, '../../../../../../config/kibana.dev.yml'),
'utf8'
)
);
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/scripts/upload-telemetry-data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (!githubToken) {
throw new Error('GITHUB_TOKEN was not provided.');
}

const kibanaConfigDir = path.join(__filename, '../../../../../../../config');
const kibanaConfigDir = path.join(__filename, '../../../../../../config');
const kibanaDevConfig = path.join(kibanaConfigDir, 'kibana.dev.yml');
const kibanaConfig = path.join(kibanaConfigDir, 'kibana.yml');

Expand Down

0 comments on commit 2f2da95

Please sign in to comment.