Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
improve handling dist argument to work with node in addition to npm
  • Loading branch information
archmoj committed Jun 30, 2021
commit 98344b63b10c3ecc439fcd58d14f9041eccf965f
2 changes: 1 addition & 1 deletion tasks/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function makeSchema(plotlyPath, schemaPath) {
}
}

var isDist = process.argv[2] === 'dist';
var isDist = process.argv.indexOf('dist') !== -1;

var pathToSchema = isDist ?
constants.pathToSchemaDist :
Expand Down