Skip to content

Commit a2a652e

Browse files
committed
Fix spacing
1 parent c7ec05c commit a2a652e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cls/_zpkg/isc/sc/git/Socket.cls

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ ClassMethod Run()
2626
Do ##class(SourceControl.Git.API).Pull()
2727
} ElseIf %request.Get("method") = "init" {
2828
set root = %request.Get("root")
29-
29+
3030
// Use user input if provided
3131
if (root '= "") && ($extract(root,1,3) '= "e.g") {
3232
set settings = ##class(SourceControl.Git.Settings).%New()
3333
set settings.namespaceTemp = root
3434
$$$ThrowOnError(settings.%Save())
3535
if ($extract(root, $length(root)) = "\") || ($extract(root, $length(root)) = "/") {
36-
set root = $extract(root, 1, $length(root) - 1)
37-
}
38-
set root = $translate(root, "\", "/")
39-
do ##class(SourceControl.Git.Utils).RunGitCommandWithInput("config",,,,"--global", "--add", "safe.directory", root)
36+
set root = $extract(root, 1, $length(root) - 1)
37+
}
38+
set root = $translate(root, "\", "/")
39+
do ##class(SourceControl.Git.Utils).RunGitCommandWithInput("config",,,,"--global", "--add", "safe.directory", root)
4040
}
4141

4242
Do ##class(SourceControl.Git.Utils).Init()

csp/gitprojectsettings.csp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,8 @@ function getSocket(urlPostfix) {
659659
function init() {
660660
disableActionButtons();
661661
var root = document.getElementById("namespaceTemp").value;
662-
var ws = getSocket("method=init&root=" + encodeURIComponent(root));
663-
ws.onmessage = showOutput('initOutput');
662+
var ws = getSocket("method=init&root=" + encodeURIComponent(root));
663+
ws.onmessage = showOutput('initOutput');
664664
}
665665

666666
function clone() {

0 commit comments

Comments
 (0)