Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/get_metadata.js → bin/get-metadata
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'use strict';

const argv = require('../lib/args')();
const getMetadata = require('../steps/metadata');
const getMetadata = require('../components/metadata');
const CLI = require('../lib/cli');

const logStream = process.stdout.isTTY ? process.stdout : process.stderr;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/pr_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { getCollaborators } = require('./collaborators');
const { ReviewAnalyzer } = require('./reviews');

// queries/*.gql file names
// lib/queries/*.gql file names
const PR_QUERY = 'PR';
const REVIEWS_QUERY = 'Reviews';
const COMMENTS_QUERY = 'PRComments';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Request {
}

loadQuery(file) {
const filePath = path.resolve(__dirname, '..', 'queries', `${file}.gql`);
const filePath = path.resolve(__dirname, 'queries', `${file}.gql`);
return fs.readFileSync(filePath, 'utf8');
}

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Utilities for Node.js core collaborators",
"main": "./bin/metadata.js",
"bin": {
"get-metadata": "./bin/get_metadata.js"
"get-metadata": "./bin/get-metadata"
},
"scripts": {
"test": "npm run test-unit && npm run lint",
Expand All @@ -24,8 +24,7 @@
"files": [
"lib/",
"bin/",
"queries/",
"steps/"
"components/"
],
"license": "MIT",
"dependencies": {
Expand Down