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

Commite13ed55

Browse files
committed
fix create build paths
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentc7bb8b0 commite13ed55

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

‎package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"@coderoad/cli",
3-
"version":"0.1.2",
3+
"version":"0.1.3",
44
"description":"A CLI to build the configuration file for Coderoad Tutorials",
55
"keywords": [
66
"coderoad",

‎src/build.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { parse } from "./utils/parse";
77
import{getArg}from"./utils/args";
88
import{getCommits,CommitLogObject}from"./utils/commits";
99
import{validateSchema}from"./utils/validate";
10-
import{buildashelp}from"./help";
1110
import*asTfrom"../typings/tutorial";
1211

1312
constwrite=util.promisify(fs.writeFile);

‎src/create.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import ncp from "ncp";
22
import*aspathfrom"path";
33
import{promisify}from"util";
44
import{getArg}from"./utils/args";
5-
import{createashelp}from"./help";
65

76
constcopy=promisify(ncp);
87

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

6362
// TODO: copy master yaml
6463
constpathToYaml=path.join(templateDirectory,`${lang}-${testRunner}`);
65-
consttargetYamlPath=path.join(localPath,"coderoad.yaml");
6664
try{
67-
awaitcopy(pathToYaml,targetYamlPath,{
65+
awaitcopy(pathToYaml,localPath,{
6866
clobber:false,
6967
});
7068
}catch(e){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp