Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: torusresearch/torus-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 978f5413cfc57c7abfeb53c26a584cc5a49fc83b
Choose a base ref
..
head repository: torusresearch/torus-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e33cf2af967eb9d876db64697512593dbe730654
Choose a head ref
Showing with 3 additions and 8 deletions.
  1. +2 −7 packages/torus-scripts/helpers/utils.js
  2. +1 −1 packages/torus-scripts/package.json
9 changes: 2 additions & 7 deletions packages/torus-scripts/helpers/utils.js
Original file line number Diff line number Diff line change
@@ -23,13 +23,8 @@ function makeRow(a, b, c) {

const readJSON = (file) => JSON.parse(fs.readFileSync(file, "utf8"));

exports.deleteFolder = (folderPath) => {
return new Promise((resolve, reject) => {
rimraf(folderPath, (err) => {
if (err) return reject(err);
resolve();
});
});
exports.deleteFolder = async (folderPath) => {
return rimraf(folderPath);
};

exports.formatSize = formatSize;
2 changes: 1 addition & 1 deletion packages/torus-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toruslabs/torus-scripts",
"version": "2.0.0",
"version": "2.0.1",
"description": "Scripts for Torus libraries to manage bundling, lint etc",
"bin": {
"torus-scripts": "./bin/torus-scripts.js"