Skip to content

Commit 7b8dc5f

Browse files
committed
fix: path lib->src
1 parent 0e3c155 commit 7b8dc5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

postinstall.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
var child_process = require("child_process");
44
var path = require("path");
5-
var constants = require(path.join(__dirname, "lib", "constants"));
5+
var constants = require(path.join(__dirname, "src", "constants"));
66
var commandArgs = [path.join(__dirname, "bin", "tns"), constants.POST_INSTALL_COMMAND_NAME];
7-
var helpers = require(path.join(__dirname, "lib", "common", "helpers"));
7+
var helpers = require(path.join(__dirname, "src", "common", "helpers"));
88
if (helpers.isInstallingNativeScriptGlobally()) {
99
child_process.spawn(process.argv[0], commandArgs, { stdio: "inherit" });
1010
}

src/providers/project-files-provider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import minimatch from "minimatch";
1+
import * as minimatch from "minimatch";
22
import * as constants from "../constants";
33
import * as path from "path";
44
import { ProjectFilesProviderBase } from "../common/services/project-files-provider-base";

0 commit comments

Comments
 (0)