Skip to content

Commit 30c5966

Browse files
committed
fix devmode detection
1 parent 10a4e38 commit 30c5966

File tree

1 file changed

+1
-1
lines changed
  • Tocsoft.GraphQLCodeGen.Npm

1 file changed

+1
-1
lines changed

Tocsoft.GraphQLCodeGen.Npm/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if (process.env["windir"]) {
2020

2121
//we need to check if we are running from a packages/installed version or source
2222
var isDevMode = true;
23-
if (fs.existsSync(__dirname + '/Tocsoft.GraphQLCodeGen.Npm.csproj')) {
23+
if (!fs.existsSync(__dirname + '/Tocsoft.GraphQLCodeGen.Npm.csproj')) {
2424
//we are in a released mode
2525
isDevMode = false;
2626
}

0 commit comments

Comments
 (0)