Skip to content

Commit c2ef7c2

Browse files
authored
Merge pull request #1 from neonexus/master
Fixed test. Fixed license badge.
2 parents 331cff9 + 94a6f02 commit c2ef7c2

File tree

8 files changed

+40
-32
lines changed

8 files changed

+40
-32
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
.DS_Store

.idea/dictionaries/neonexus.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Build Status](https://img.shields.io/travis/com/neonexus/drfg/release?style=plastic&logo=travis)](https://app.travis-ci.com/neonexus/drfg)
55
[![NPM version](https://img.shields.io/npm/v/drfg/latest?style=plastic&logo=npm&color=blue)](https://www.npmjs.com/package/drfg)
66
[![GitHub version](https://img.shields.io/github/v/release/neonexus/drfg?style=plastic&logo=github&label=GitHub@latest)](https://github.com/neonexus/drfg)
7-
[<img src="license.svg" width="95" height="18">](LICENSE)
7+
[<img src="gpl.svg" width="119" height="18">](LICENSE)
88

99
The idea of this package, is to make downloading / extracting / installing a GitHub repo's latest release a breeze (without creating a new repo, or using Git for that matter). Both in the terminal, and programmatically, if you are into that kind of thing...
1010

gpl.svg

Lines changed: 25 additions & 0 deletions
Loading

license.svg

Lines changed: 0 additions & 26 deletions
This file was deleted.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "drfg",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Download Release From GitHub, extract it into a new directory, and install dependencies, with a single command.",
55
"bin": {
66
"drfg": "src/bin.js",

test/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const utils = require('../src/utilities');
66

77
chai.use(require('chai-spies'));
88

9-
describe('drfg - Download Zipball From Github', () => {
9+
describe('drfg - Download Release From Github', () => {
1010
afterEach((done) => {
1111
chai.spy.restore();
1212
done();
@@ -77,7 +77,7 @@ describe('drfg - Download Zipball From Github', () => {
7777
});
7878

7979
it('should calculate the size of a directory recursively', (done) => {
80-
const githubSize = fs.statSync(path.join(__dirname, '../.github/FUNDING.yml')).size + fs.statSync(path.join(__dirname, '../.github/workflows/codeql.yml')).size;
80+
const githubSize = fs.statSync(path.join(__dirname, '../.github/FUNDING.yml')).size + fs.statSync(path.join(__dirname, '../.github/workflows/codeql-analysis.yml')).size;
8181

8282
const utilsCalc = utils.getDirectorySize(path.join(__dirname, '../.github'));
8383

0 commit comments

Comments
 (0)