New:Socket for Asana Is Now Available.Learn more
Get Started

archon

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

archon - npm Package Compare versions

Comparing version
3.0.1
to
3.0.2
+6
-6
lib/gitFunctions.js

@@ -9,3 +9,3 @@

var TEAMS = 'teams';
var TEAMS = 'src';
var DOT_GIT = '.git';

@@ -33,7 +33,4 @@ var REFS = 'refs';

var teamXXX = _findPlayer();
if (fs.existsSync('.git')) {
return '.';
}
if (fs.existsSync(path.join(TEAMS,'.git'))) {
return 'teams';
return TEAMS;
}

@@ -43,2 +40,5 @@ if (fs.existsSync(path.join(TEAMS, teamXXX, '.git'))) {

}
if (fs.existsSync('.git')) {
return '.';
}
return null;

@@ -308,3 +308,3 @@ }

if (gitPath === null) {
throw "Couldn't find a valid git repo in ., teams/ or teams/" + player;
throw "Couldn't find a valid git repo in src/ or src/" + player;
}

@@ -311,0 +311,0 @@ isClean(gitPath, function(status) {

@@ -10,3 +10,3 @@ {

],
"version": "3.0.1",
"version": "3.0.2",
"license": "MIT",

@@ -13,0 +13,0 @@ "repository": {