Skip to content

Commit dd8b769

Browse files
committed
Fixed PacletSite upload result
1 parent 032322a commit dd8b769

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

PacletTools.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,7 @@
26992699
]
27002700
]
27012701
},
2702-
Most[res]/;MatchQ[res,_CloudObject]
2702+
Take[res, 1]/;MatchQ[res,_CloudObject]
27032703
]
27042704
pacletSiteUpload[
27052705
dir:(_String|_File)?DirectoryQ,

PacletTools.nb

+9-16
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ Cell[BoxData[
393393
RowBox[{"Permissions", "\[Rule]", "\"\<Public\>\""}]}], "\n", "\t\t",
394394
"|>"}]}]], \
395395
"CodeInput",ExpressionUUID->"90b9be8d-566c-49f0-b932-7c22a2c0f72d"]
396-
}, Open ]],
396+
}, Closed]],
397397

398398
Cell[CellGroupData[{
399399

@@ -6781,7 +6781,8 @@ Cell[BoxData[{
67816781
"\t\t\t\t", "]"}]}], "\n", "\t\t\t", "]"}]}], "\n", "\t\t", "}"}],
67826782
",", "\n", "\t\t",
67836783
RowBox[{
6784-
RowBox[{"Most", "[", "res", "]"}], "/;",
6784+
RowBox[{"Take", "[",
6785+
RowBox[{"res", ",", " ", "1"}], "]"}], "/;",
67856786
RowBox[{"MatchQ", "[",
67866787
RowBox[{"res", ",", "_CloudObject"}], "]"}]}]}], "\n", "\t\t",
67876788
"]"}]}], "\n",
@@ -6846,23 +6847,15 @@ Cell[BoxData[{
68466847
RowBox[{
68476848
RowBox[{"URL", "@", "site"}], ",", "1", ",", "URL"}], "]"}]}]}],
68486849
",", "\n", "\t\t\t", "pacletMZ", ",", "\n", "\t\t\t", "ops"}], "\n",
6849-
"\t\t\t", "]"}]}], "\n", "\t\t", "]"}]}], ";"}]}], "CodeInput",
6850-
CellChangeTimes->{{3.705687991311474*^9, 3.705688052088292*^9},
6851-
3.705688537995163*^9, {3.7056888368398657`*^9, 3.705688862859565*^9}, {
6852-
3.70568962060161*^9, 3.7056896552159977`*^9}, {3.7056905331550093`*^9,
6853-
3.705690727433899*^9}, {3.7056934310910883`*^9, 3.705693493452941*^9},
6854-
3.705693524324712*^9, {3.705693843287002*^9,
6855-
3.705693844845971*^9}},ExpressionUUID->"2a8b4257-a092-4734-ad25-\
6856-
cf4dca95dfa4"]
6850+
"\t\t\t", "]"}]}], "\n", "\t\t", "]"}]}],
6851+
";"}]}], "CodeInput",ExpressionUUID->"2a8b4257-a092-4734-ad25-cf4dca95dfa4"]\
6852+
68576853
}, Closed]],
68586854

68596855
Cell[CellGroupData[{
68606856

68616857
Cell["\[LeftCeiling]PacletSiteUpload\[RightFloor]", "CodeSubsubsubsection",
6862-
Evaluatable->True,
6863-
CellChangeTimes->{{3.720577740631531*^9,
6864-
3.72057774717374*^9}},ExpressionUUID->"38b0e06c-58bb-4ba7-a414-\
6865-
05a07aea5555"],
6858+
Evaluatable->True,ExpressionUUID->"38b0e06c-58bb-4ba7-a414-05a07aea5555"],
68666859

68676860
Cell[BoxData[{
68686861
RowBox[{
@@ -7041,7 +7034,7 @@ Cell[BoxData[{
70417034
3.720578255634818*^9,
70427035
3.720578265447036*^9}},ExpressionUUID->"0d1da453-900a-49a4-bd17-\
70437036
b39bd1b9c9f0"]
7044-
}, Closed]]
7037+
}, Open ]]
70457038
}, Open ]],
70467039

70477040
Cell[CellGroupData[{
@@ -8579,7 +8572,7 @@ Cell[BoxData[{
85798572
3c6d6731ab90"]
85808573
}, Open ]]
85818574
}, Open ]]
8582-
}, Closed]],
8575+
}, Open ]],
85838576

85848577
Cell[CellGroupData[{
85858578

0 commit comments

Comments
 (0)