Skip to content

Commit e13ed55

Browse files
committed
fix create build paths
Signed-off-by: shmck <[email protected]>
1 parent c7bb8b0 commit e13ed55

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
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

-1
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 { build as help } from "./help";
1110
import * as T from "../typings/tutorial";
1211

1312
const write = util.promisify(fs.writeFile);

src/create.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import ncp from "ncp";
22
import * as path from "path";
33
import { promisify } from "util";
44
import { getArg } from "./utils/args";
5-
import { create as help } from "./help";
65

76
const copy = promisify(ncp);
87

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

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

0 commit comments

Comments
 (0)