Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix create build paths#24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 1 commit intomasterfromfix/create-1
Jun 2, 2020
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix create build paths
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
@ShMcK
ShMcK committedJun 2, 2020
commite13ed55f2b1d6ec7a0fa434d61af943b8f00233f
2 changes: 1 addition & 1 deletionpackage-lock.json
View file
Open in desktop

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

2 changes: 1 addition & 1 deletionpackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@coderoad/cli",
"version": "0.1.2",
"version": "0.1.3",
"description": "A CLI to build the configuration file for Coderoad Tutorials",
"keywords": [
"coderoad",
Expand Down
1 change: 0 additions & 1 deletionsrc/build.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,6 @@ import { parse } from "./utils/parse";
import { getArg } from "./utils/args";
import { getCommits, CommitLogObject } from "./utils/commits";
import { validateSchema } from "./utils/validate";
import { build as help } from "./help";
import * as T from "../typings/tutorial";

const write = util.promisify(fs.writeFile);
Expand Down
4 changes: 1 addition & 3 deletionssrc/create.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,6 @@ import ncp from "ncp";
import * as path from "path";
import { promisify } from "util";
import { getArg } from "./utils/args";
import { create as help } from "./help";

const copy = promisify(ncp);

Expand DownExpand Up@@ -62,9 +61,8 @@ async function create(args: string[]): Promise<void> {

// TODO: copy master yaml
const pathToYaml = path.join(templateDirectory, `${lang}-${testRunner}`);
const targetYamlPath = path.join(localPath, "coderoad.yaml");
try {
await copy(pathToYaml,targetYamlPath, {
await copy(pathToYaml,localPath, {
clobber: false,
});
} catch (e) {
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp