Skip to content

Commit

Permalink
Fix windows CI errors by removing no-cone on git add command (#2169)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpmellema committed Feb 28, 2024
1 parent 367c4a5 commit ba09aa4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -274,7 +274,7 @@ private void cloneTemplate(Path templateRepoDirPath, ObjectNode smithyTemplatesN
exec(ListUtils.of("git", "sparse-checkout", "set", "--no-cone", templatePath), stagingPath);
// add any additional files that should be included
for (String includedFile : includedFiles) {
exec(ListUtils.of("git", "sparse-checkout", "add", "--no-cone", includedFile), stagingPath);
exec(ListUtils.of("git", "sparse-checkout", "add", includedFile), stagingPath);
}
exec(ListUtils.of("git", "checkout"), stagingPath);

Expand Down

0 comments on commit ba09aa4

Please sign in to comment.