Skip to content

Commit

Permalink
Add name to CONTRIBUTORS.md and misc style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
belkarx committed Jul 21, 2022
1 parent 606b8c4 commit afc51f6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
- Sean Mitchell https://github.com/dskvr
- Nicola Dardanis <https://github.com/nicdard>
- KOGA Mitsuhiro <https://github.com/shiena>
- belkarx <belkarx0@outlook.com>
2 changes: 0 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ program
if (opts.noColor) {
chalk.level = 0;
}

try {
const repo = await Repository.open(normalize(process.cwd()));

Expand Down Expand Up @@ -572,7 +571,6 @@ program
: undefined,
};
}

if (value instanceof Reference) {
return {
name: value.getName(),
Expand Down
3 changes: 0 additions & 3 deletions test/10.cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ test('snow checkout', async (t) => {
t.false(fse.pathExistsSync(join(snowWorkdir, 'abc1.txt')));
});



test('snow branch foo-branch', async (t) => {
t.timeout(180000);

Expand Down Expand Up @@ -392,7 +390,6 @@ test('snow add *', async (t) => {
/**
* This test ensures that foo.txt is not added to the staging area because cwd is the subdirectory
*/

test('snow add foo.txt', async (t) => {
const snow: string = getSnowexec();
const snowWorkdir = generateUniqueTmpDirName();
Expand Down

0 comments on commit afc51f6

Please sign in to comment.