File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ server.on('error', (e) => {
9191 console . log ( 'Ungit server already running' ) ;
9292 navigate ( ) ;
9393 } else {
94- console . error ( 'Failed to run server: ' , e )
95- process . exit ( 1 )
94+ console . error ( 'Failed to run server: ' , e ) ;
95+ process . exit ( 1 ) ;
9696 }
9797} ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ const gitPromise = require('./git-promise');
1010const fs = require ( 'fs' ) . promises ;
1111const watch = require ( 'fs' ) . watch ;
1212const ignore = require ( 'ignore' ) ;
13- const crypto = require ( 'crypto' ) ;
1413const nodegit = require ( 'nodegit' ) ;
1514
1615const isMac = / ^ d a r w i n / . test ( process . platform ) ;
@@ -756,8 +755,8 @@ exports.registerApi = (env) => {
756755 ensureAuthenticated ,
757756 ensurePathExists ,
758757 jw ( async ( req ) => {
759- let repoPath = req . query . path ;
760- let tagName = req . query . name . trim ( ) ;
758+ const repoPath = req . query . path ;
759+ const tagName = req . query . name . trim ( ) ;
761760 const repo = await getRepo ( repoPath ) ;
762761 return nodegit . Tag . delete ( repo , tagName )
763762 . catch ( normalizeError )
You can’t perform that action at this time.
0 commit comments