Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dugite-extra

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dugite-extra - npm Package Compare versions

Comparing version 0.0.1-alpha.17 to 0.0.1-alpha.18

43

lib/command/status.spec.js

@@ -54,24 +54,27 @@ "use strict";

repositoryWithChanges = path.join(os.homedir(), '.git');
before(function () { return __awaiter(_this, void 0, void 0, function () {
var tmpPath;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
if (fs.existsSync(repositoryWithChanges)) {
fs.removeSync(repositoryWithChanges);
}
return [4 /*yield*/, clone_1.clone('https://github.com/eclipse/xtext-core.git', repositoryWithChanges)];
case 1:
_a.sent();
tmpPath = path.join(repositoryWithChanges, 'tmp');
fs.mkdirpSync(tmpPath);
fs.readdirSync(repositoryWithChanges).forEach(function (fileName) {
if (fileName.startsWith('org.eclipse.xtext')) {
fs.moveSync(path.join(repositoryWithChanges, fileName), path.join(tmpPath, fileName));
before(function () {
return __awaiter(this, void 0, void 0, function () {
var tmpPath;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
this.timeout(80000);
if (fs.existsSync(repositoryWithChanges)) {
fs.removeSync(repositoryWithChanges);
}
});
return [2 /*return*/];
}
return [4 /*yield*/, clone_1.clone('https://github.com/eclipse/xtext-core.git', repositoryWithChanges)];
case 1:
_a.sent();
tmpPath = path.join(repositoryWithChanges, 'tmp');
fs.mkdirpSync(tmpPath);
fs.readdirSync(repositoryWithChanges).forEach(function (fileName) {
if (fileName.startsWith('org.eclipse.xtext')) {
fs.moveSync(path.join(repositoryWithChanges, fileName), path.join(tmpPath, fileName));
}
});
return [2 /*return*/];
}
});
});
}); });
});
after(function () { return __awaiter(_this, void 0, void 0, function () {

@@ -78,0 +81,0 @@ return __generator(this, function (_a) {

{
"name": "dugite-extra",
"version": "0.0.1-alpha.17",
"version": "0.0.1-alpha.18",
"description": "High-level Git commands for dugite.",

@@ -5,0 +5,0 @@ "main": "lib/index",

@@ -18,3 +18,4 @@ import * as temp from 'temp';

before(async () => {
before(async function () {
this.timeout(80000);
if (fs.existsSync(repositoryWithChanges)) {

@@ -21,0 +22,0 @@ fs.removeSync(repositoryWithChanges);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc