Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Nov 22, 2024
1 parent 75d66bf commit 2c6a0e5
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/Command/Cloudflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default async () =>
).default("Cloudflare"),
)) {
const GitHub = `${_Directory}/.github`;

const Base = await File();

if (Path === "/workflows/" && Name === "Cloudflare.yml") {
Expand Down
3 changes: 3 additions & 0 deletions Source/Command/Dependabot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default async () =>
await import("@Function/Directory.js")
).default(await (await import("@Function/Package.js")).default())) {
const GitHub = `${_Directory}/.github`;

const Base = await File();

if (Path === "/") {
Expand All @@ -40,6 +41,7 @@ export default async () =>
switch (Package.split(".").pop()) {
case "csproj":
return "nuget";
default:
return "npm";
}
Expand All @@ -54,6 +56,7 @@ export default async () =>
switch (Environment) {
case "Cargo":
return "lockfile-only";
default:
return "increase";
}
Expand Down
1 change: 1 addition & 0 deletions Source/Command/GitHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default async () =>
await import("@Function/Directory.js")
).default(await (await import("@Function/Package.js")).default())) {
const GitHub = `${_Directory}/.github`;

const Base = await File();

if (Base.size > 0) {
Expand Down
2 changes: 2 additions & 0 deletions Source/Command/NPM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default async () =>
await (await import("@Function/Package.js")).default("NPM"),
)) {
const GitHub = `${_Directory}/.github`;

const Base = await File();

if (Path === "/workflows/" && Name === "NPM.yml") {
Expand Down Expand Up @@ -53,6 +54,7 @@ export default async () =>
)
) {
const values = JSONPackage[key];

if (key === "scripts") {
for (const scripts in values) {
if (
Expand Down
1 change: 1 addition & 0 deletions Source/Command/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default async () =>
await (await import("@Function/Package.js")).default("NPM"),
)) {
const GitHub = `${_Directory}/.github`;

const Base = await File();

if (Path === "/workflows/" && Name === "Node.yml") {
Expand Down
1 change: 1 addition & 0 deletions Source/Command/Rust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default async () =>
await (await import("@Function/Package.js")).default("Cargo"),
)) {
const GitHub = `${_Directory}/.github`;

const Base = await File();

if (Path === "/workflows/" && Name === "Rust.yml") {
Expand Down
1 change: 1 addition & 0 deletions Source/Function/WalkUntilGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type Interface from "../Interface/WalkUntilGit.js";
*/
export const _Function = (async (...[Search, From]) => {
const Path = (await import("path")).dirname(Search);

const Original = From ?? Path;

if (Path === Search) {
Expand Down

0 comments on commit 2c6a0e5

Please sign in to comment.